PARAM Struct Reference

Configuration file values. More...


Data Fields

gchar * paramname
 Name of the parameter, as it appears in the config file.
gboolean required
 Whether this is a required (as opposed to optional) parameter.
PARAM_TYPE ptype
 Type of the parameter.
gpointer target
 Pointer to where the data of this parameter should be written.
gint flagval
 Flag mask for this parameter in case ptype is PARAM_BOOL.


Detailed Description

Configuration file values.

Definition at line 221 of file nbd-server.c.


Field Documentation

gchar* PARAM::paramname

Name of the parameter, as it appears in the config file.

Definition at line 222 of file nbd-server.c.

gboolean PARAM::required

Whether this is a required (as opposed to optional) parameter.

Definition at line 224 of file nbd-server.c.

PARAM_TYPE PARAM::ptype

Type of the parameter.

Definition at line 226 of file nbd-server.c.

gpointer PARAM::target

Pointer to where the data of this parameter should be written.

If ptype is PARAM_BOOL, the data is or'ed rather than overwritten.

Definition at line 227 of file nbd-server.c.

Referenced by parse_cfile().

gint PARAM::flagval

Flag mask for this parameter in case ptype is PARAM_BOOL.

Definition at line 231 of file nbd-server.c.

Referenced by parse_cfile().


The documentation for this struct was generated from the following file:
Generated on Fri Sep 21 19:49:46 2007 for Network Block Device by  doxygen 1.5.3