version 1.11, 2001/03/06 00:33:04 |
version 1.12, 2001/05/06 17:52:07 |
|
|
} |
} |
|
|
static int |
static int |
cli_write(char* buf, int size) |
cli_write(const char* buf, int size) |
{ |
{ |
int i, len, pos, ret = 0; |
int i, len, pos, ret = 0; |
char *output, *p; |
char *output, *p; |
|
|
* buffer is storing the response. |
* buffer is storing the response. |
*/ |
*/ |
char* |
char* |
cli_read_passphrase(char* prompt, int from_stdin, int echo_enable) |
cli_read_passphrase(const char* prompt, int from_stdin, int echo_enable) |
{ |
{ |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |
char* p; |
char* p; |