[BACK]Return to cli.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

File: [local] / src / usr.bin / ssh / Attic / cli.h (download)

Revision 1.2, Mon Oct 16 09:38:44 2000 UTC (23 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8, OPENBSD_2_7
Changes since 1.1: +2 -0 lines

Add idents for files which lack them

Fix idents Id -> OpenBSD for the rest

/* $OpenBSD: cli.h,v 1.2 2000/10/16 09:38:44 djm Exp $ */

#ifndef CLI_H
#define CLI_H

/*
 * Presents a prompt and returns the response allocated with xmalloc().
 * Uses /dev/tty or stdin/out depending on arg.  Optionally disables echo
 * of response depending on arg.  Tries to ensure that no other userland
 * buffer is storing the response.
 */
char*	cli_read_passphrase(char* prompt, int from_stdin, int echo_enable);
char*	cli_prompt(char* prompt, int echo_enable);
void	cli_mesg(char* mesg);

#endif /* CLI_H */