Main Page   Compound List   File List   Compound Members   File Members  

lu_prompt Struct Reference

#include <prompt.h>

List of all members.

Public Attributes

const char* key
const char* prompt
gboolean visible
const char* default_value
char* value
void (* free_value )(char *)


Detailed Description

The type of data passed to a prompter function. The library uses these when it needs to prompt the user for information.


Member Data Documentation

const char * lu_prompt::default_value
 

A default value, given as a string.

void(* lu_prompt::free_value)(char *)
 

A function which can free the user's response.

const char * lu_prompt::key
 

An invariant string of the form "module/name", which describes the information being prompted for. The calling application may use this value as an index into a hash table used to cache answers to particular queries.

const char * lu_prompt::prompt
 

The text of a prompt to display. This *may* be translated for the current locale by a module.

char * lu_prompt::value
 

The user's response.

gboolean lu_prompt::visible
 

Whether or not the user's response should be echoed to the screen or visible in an entry field.


The documentation for this struct was generated from the following file:
Generated at Wed Oct 12 09:59:05 2005 for libuser by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001