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 248 of file nbd-server.c.


Field Documentation

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

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

gboolean PARAM::required

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

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

Referenced by parse_cfile().

Type of the parameter.

Definition at line 253 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 254 of file nbd-server.c.

Referenced by parse_cfile().

Flag mask for this parameter in case ptype is PARAM_BOOL.

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

Referenced by parse_cfile().


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

Generated on Tue Apr 26 19:56:21 2011 for Network Block Device by  doxygen 1.5.6