|
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. | |
| void | query_user_add (char *prompt, char *resp, int resp_len, bool echo) |
| Adds an item to ask the user for. | |
Variables | |
| struct _query_user | query_user [QUERY_USER_NUMSLOTS] |
| Global variable, declared in console.c. | |
| void query_user_add | ( | char * | prompt, |
| char * | resp, | ||
| int | resp_len, | ||
| bool | echo | ||
| ) |
Adds an item to ask the user for.
| prompt | Prompt to display to the user |
| 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 56 of file console.c.
References ASSERT, _query_user::echo, i, _query_user::prompt, query_user, QUERY_USER_NUMSLOTS, _query_user::response, and _query_user::response_len.
Referenced by get_user_pass_cr(), and query_user_SINGLE().
| void query_user_clear | ( | void | ) |
Wipes all data put into all of the query_user structs.
Definition at line 44 of file console.c.
References CLEAR, i, query_user, and QUERY_USER_NUMSLOTS.
Referenced by get_user_pass_cr().
| struct _query_user query_user[QUERY_USER_NUMSLOTS] |
Global variable, declared in console.c.
Definition at line 40 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_authfile_stdin_assertions(), test_get_user_pass_dynamic_challenge(), test_get_user_pass_inline_creds(), test_get_user_pass_needok(), and test_get_user_pass_static_challenge().