2011-10-06 11:39:00 -04:00
|
|
|
#ifndef HEADER_CURL_TOOL_GETPASS_H
|
|
|
|
#define HEADER_CURL_TOOL_GETPASS_H
|
2003-10-16 10:09:39 -04:00
|
|
|
/***************************************************************************
|
2004-12-25 17:08:02 -05:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
2003-10-16 10:09:39 -04:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2020-11-05 02:22:10 -05:00
|
|
|
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2003-10-16 10:09:39 -04:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2020-11-04 08:02:01 -05:00
|
|
|
* are also available at https://curl.se/docs/copyright.html.
|
2004-12-25 17:08:02 -05:00
|
|
|
*
|
2003-10-16 10:09:39 -04:00
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
2012-04-06 17:35:15 -04:00
|
|
|
#include "tool_setup.h"
|
2011-09-14 05:27:12 -04:00
|
|
|
|
2003-10-16 10:09:39 -04:00
|
|
|
#ifndef HAVE_GETPASS_R
|
|
|
|
/* If there's a system-provided function named like this, we trust it is
|
|
|
|
also found in one of the standard headers. */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Returning NULL will abort the continued operation!
|
|
|
|
*/
|
2016-11-23 01:53:24 -05:00
|
|
|
char *getpass_r(const char *prompt, char *buffer, size_t buflen);
|
2003-10-16 10:09:39 -04:00
|
|
|
#endif
|
|
|
|
|
2011-10-06 11:39:00 -04:00
|
|
|
#endif /* HEADER_CURL_TOOL_GETPASS_H */
|