36#include <systemd/sd-daemon.h>
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.
struct _query_user query_user[QUERY_USER_NUMSLOTS]
Global variable, declared in console.c.
#define QUERY_USER_NUMSLOTS
Configuration setup for declaring what kind of information to ask a user for.
char * prompt
Prompt to present to the user.
int response_len
Length the of the user response.
char * response
The user's response.
bool echo
True: The user should see what is being typed, otherwise mask it.