Nut/OS  5.0.5
API Reference
_CONFOS Struct Reference

Operating system configuration structure. More...

#include <sys/confos.h>

Collaboration diagram for _CONFOS:
[legend]

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.


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.

Referenced by NutLoadConfig(), and NutSaveConfig().

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

Magic cookie.

Contains CONFOS_EE_MAGIC.

Referenced by NutLoadConfig(), and NutSaveConfig().


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