OpenVPN
Data Fields
_query_user Struct Reference

Configuration setup for declaring what kind of information to ask a user for. More...

#include <console.h>

Data Fields

char * prompt
 Prompt to present to the user. More...
 
size_t prompt_len
 Length of the prompt string. More...
 
char * response
 The user's response. More...
 
size_t response_len
 Length the of the user response. More...
 
bool echo
 True: The user should see what is being typed, otherwise mask it. More...
 

Detailed Description

Configuration setup for declaring what kind of information to ask a user for.

Definition at line 34 of file console.h.

Field Documentation

◆ echo

bool _query_user::echo

True: The user should see what is being typed, otherwise mask it.

Definition at line 39 of file console.h.

Referenced by get_console_input(), get_console_input_win32(), query_user_add(), and query_user_SINGLE().

◆ prompt

char* _query_user::prompt

Prompt to present to the user.

Definition at line 35 of file console.h.

Referenced by get_console_input(), get_console_input_win32(), query_user_add(), and query_user_SINGLE().

◆ prompt_len

size_t _query_user::prompt_len

Length of the prompt string.

Definition at line 36 of file console.h.

Referenced by query_user_add(), and query_user_SINGLE().

◆ response

char* _query_user::response

The user's response.

Definition at line 37 of file console.h.

Referenced by query_user_add(), and query_user_exec_builtin().

◆ response_len

size_t _query_user::response_len

Length the of the user response.

Definition at line 38 of file console.h.

Referenced by query_user_add().


The documentation for this struct was generated from the following file: