Network Block Device 2.9.20
Data Fields

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

Flag mask for this parameter in case ptype is PARAM_BOOL.

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

Referenced by parse_cfile().

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

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

Type of the parameter.

Definition at line 253 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().

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().


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