xref: /titanic_41/usr/src/cmd/ssh/include/readpass.h (revision 159d09a20817016f09b3ea28d1bdada4a336bb91)
1 /*	$OpenBSD: readpass.h,v 1.7 2002/03/26 15:58:46 markus Exp $	*/
2 
3 #ifndef	_READPASS_H
4 #define	_READPASS_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 
13 /*
14  * Author: Tatu Ylonen <ylo@cs.hut.fi>
15  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
16  *                    All rights reserved
17  *
18  * As far as I am concerned, the code I have written for this software
19  * can be used freely for any purpose.  Any derived versions of this
20  * software must be clearly marked as such, and if the derived work is
21  * incompatible with the protocol description in the RFC file, it must be
22  * called by a name other than "ssh" or "Secure Shell".
23  */
24 
25 #define RP_ECHO			0x0001
26 #define RP_ALLOW_STDIN		0x0002
27 #define RP_ALLOW_EOF		0x0004
28 
29 char	*read_passphrase(const char *, int);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* _READPASS_H */
36