OpenVPN
|
Go to the source code of this file.
Functions | |
void | query_user_clear (void) |
Wipes all data put into all of the query_user structs. More... | |
void | query_user_add (char *prompt, size_t prompt_len, char *resp, size_t resp_len, bool echo) |
Adds an item to ask the user for. More... | |
Variables | |
struct _query_user | query_user [QUERY_USER_NUMSLOTS] |
Global variable, declared in console.c. More... | |
void query_user_add | ( | char * | prompt, |
size_t | prompt_len, | ||
char * | resp, | ||
size_t | resp_len, | ||
bool | echo | ||
) |
Adds an item to ask the user for.
prompt | Prompt to display to the user |
prompt_len | Length of the prompt string |
resp | String containing the user response |
resp_len | Length of the response string |
echo | Should the user input be echoed to the user? If False, input will be masked |
Definition at line 57 of file console.c.
Referenced by get_user_pass_cr().
void query_user_clear | ( | void | ) |
Wipes all data put into all of the query_user structs.
Definition at line 45 of file console.c.
Referenced by get_user_pass_cr().
struct _query_user query_user[QUERY_USER_NUMSLOTS] |
Global variable, declared in console.c.
Definition at line 41 of file console.c.
Referenced by query_user_add(), query_user_clear(), query_user_exec_builtin(), test_get_user_pass_authfile_file(), test_get_user_pass_authfile_stdin(), test_get_user_pass_dynamic_challenge(), test_get_user_pass_inline_creds(), test_get_user_pass_needok(), and test_get_user_pass_static_challenge().