getpass.h
1 #ifndef _HAVE_PCP_GETPASS
2 #define _HAVE_PCP_GETPASS
3 
4 /*
5  * (unportable) functions to turn on/off terminal echo
6  * using termios functions. might compile however on
7  * most unices, tested on FreeBSD only.
8  */
9 
10 
11 #include <unistd.h>
12 #include <stdio.h>
13 #include <stdlib.h>
14 #include <termios.h>
15 
16 
17 void pcp_echo_off();
18 void pcp_echo_on();
19 char *pcp_get_stdin();
20 char *pcp_get_passphrase(char *prompt);
21 
22 #endif /* _HAVE_PCP_GETPASS */