]> andersk Git - openssh.git/blame - cli.h
- (djm) Avoid warning in PAM code by making read_passphrase arguments const
[openssh.git] / cli.h
CommitLineData
6c09e23c 1/* $OpenBSD: cli.h,v 1.2 2000/10/16 09:38:44 djm Exp $ */
2
94ec8c6b 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 */
8694a1ce 12char* cli_read_passphrase(const char* prompt, int from_stdin,
13 int echo_enable);
94ec8c6b 14char* cli_prompt(char* prompt, int echo_enable);
15void cli_mesg(char* mesg);
16
17#endif /* CLI_H */
This page took 0.446349 seconds and 5 git commands to generate.