Merge branch 'maint-0.4.8'
[tor.git] / src / lib / term / getpass.h
blobea059b794327f7416aff274bf405ecf75ff1cbb5
1 /* Copyright (c) 2003-2004, Roger Dingledine
2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3 * Copyright (c) 2007-2021, The Tor Project, Inc. */
4 /* See LICENSE for licensing information */
6 /**
7 * \file getpass.h
8 * \brief Header for getpass.c
9 **/
11 #ifndef TOR_GETPASS_H
12 #define TOR_GETPASS_H
14 #include "lib/cc/torint.h"
16 ssize_t tor_getpass(const char *prompt, char *output, size_t buflen);
18 #endif /* !defined(TOR_GETPASS_H) */