settings Struct Reference

A settings block. More...

#include <settings.h>


Data Fields

struct refcntrefcnt
 Reference counter.
const char * name
 Name.
unsigned int tag_magic
 Tag magic.
struct settingsparent
 Parent settings block.
struct list_head siblings
 Sibling settings blocks.
struct list_head children
 Child settings blocks.
struct settings_operationsop
 Settings block operations.


Detailed Description

A settings block.

Definition at line 79 of file settings.h.


Field Documentation

struct refcnt* settings::refcnt [read]

Reference counter.

Definition at line 81 of file settings.h.

Referenced by register_settings(), settings_init(), and unregister_settings().

const char* settings::name

unsigned int settings::tag_magic

Tag magic.

This value will be ORed in to any numerical tags constructed by parse_setting_name(), and can be used to avoid e.g. attempting to retrieve the subnet mask from SMBIOS, or the system UUID from DHCP.

Definition at line 91 of file settings.h.

Referenced by settings_init().

struct settings* settings::parent [read]

Sibling settings blocks.

Definition at line 95 of file settings.h.

Referenced by register_settings(), reprioritise_settings(), settings_init(), and unregister_settings().

Settings block operations.

Definition at line 99 of file settings.h.

Referenced by clear_settings(), fetch_setting(), settings_init(), and store_setting().


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

Generated on Tue Apr 6 20:02:09 2010 for gPXE by  doxygen 1.5.7.1