diff options
Diffstat (limited to 'src/lib/term/getpass.h')
-rw-r--r-- | src/lib/term/getpass.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/term/getpass.h b/src/lib/term/getpass.h new file mode 100644 index 0000000000..e8347e7fe8 --- /dev/null +++ b/src/lib/term/getpass.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2003-2004, Roger Dingledine + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file getpass.h + * \brief Header for getpass.c + **/ + +#ifndef TOR_GETPASS_H +#define TOR_GETPASS_H + +#include "lib/cc/torint.h" + +ssize_t tor_getpass(const char *prompt, char *output, size_t buflen); + +#endif |