Nut/OS  4.10.3
API Reference
_CONFOS Struct Reference

Operating system configuration structure. More...

#include <sys/confos.h>

Collaboration diagram for _CONFOS:

Data Fields

uint8_t size
 Size of this structure.
uint8_t magic [sizeof(CONFOS_EE_MAGIC)-1]
 Magic cookie.
char hostname [MAX_HOSTNAME_LEN+1]
 Host name of the system.

Detailed Description

Operating system configuration structure.

Applications may directly access the global variable confos to read or modify the current configuration.

Definition at line 141 of file confos.h.


Field Documentation

Size of this structure.

Used by Nut/Net to verify, that the structure contents is valid after reading it from non-volatile memory.

Definition at line 147 of file confos.h.

Referenced by NutLoadConfig(), and NutSaveConfig().

uint8_t _CONFOS::magic[sizeof(CONFOS_EE_MAGIC)-1]

Magic cookie.

Contains CONFOS_EE_MAGIC.

Definition at line 153 of file confos.h.

Referenced by NutLoadConfig(), and NutSaveConfig().

char _CONFOS::hostname[MAX_HOSTNAME_LEN+1]

Host name of the system.

Definition at line 157 of file confos.h.

Referenced by MibRegisterSysVars(), NutDiscoveryAnnTele(), NutDiscoveryAppConf(), NutLoadConfig(), NutSaveConfig(), and syslog_header().


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