Annotation of src/usr.bin/ssh/cli.h, Revision 1.2.4.2
1.2.4.2 ! jason 1: /* $OpenBSD: cli.h,v 1.3 2001/01/16 23:58:09 deraadt Exp $ */
1.2 djm 2:
1.1 markus 3: #ifndef CLI_H
4: #define CLI_H
5:
6: /*
7: * Presents a prompt and returns the response allocated with xmalloc().
8: * Uses /dev/tty or stdin/out depending on arg. Optionally disables echo
9: * of response depending on arg. Tries to ensure that no other userland
10: * buffer is storing the response.
11: */
1.2.4.2 ! jason 12: char * cli_read_passphrase(char * prompt, int from_stdin, int echo_enable);
! 13: char * cli_prompt(char * prompt, int echo_enable);
! 14: void cli_mesg(char * mesg);
1.1 markus 15:
16: #endif /* CLI_H */