From cbdf2c5d8f6fcce432e2355f406ca9e3c2340a5b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 1 Mar 2015 15:35:36 +0100 Subject: Add a tor_getpass to read passphrases. Needs better backend. --- src/common/compat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/compat.h') diff --git a/src/common/compat.h b/src/common/compat.h index 5189b7e056..549ed827d4 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -708,6 +708,8 @@ STATIC int tor_ersatz_socketpair(int family, int type, int protocol, #endif #endif +ssize_t tor_getpass(const char *prompt, char *output, size_t buflen); + /* This needs some of the declarations above so we include it here. */ #include "compat_threads.h" -- cgit v1.2.3-54-g00ecf