nut/include/sys/confos.h File Reference


Detailed Description

Header file for global system configuration.

 *
 * $Log: confos.h,v $
 * Revision 1.6  2006/05/25 09:18:28  haraldkipp
 * API documentation updated and corrected.
 *
 * Revision 1.5  2006/03/16 15:25:34  haraldkipp
 * Changed human readable strings from u_char to char to stop GCC 4 from
 * nagging about signedness.
 *
 * Revision 1.4  2006/01/23 17:34:29  haraldkipp
 * Configuration structures must be packed.
 *
 * Revision 1.3  2005/07/26 16:02:57  haraldkipp
 * Avoid redefinition of CONFOS_EE_OFFSET.
 *
 * Revision 1.2  2004/03/03 17:52:25  drsung
 * New field 'hostname' added to structure confos.
 *
 * Revision 1.1.1.1  2003/05/09 14:41:19  haraldkipp
 * Initial using 3.2.1
 *
 * Revision 1.4  2003/02/04 18:00:52  harald
 * Version 3 released
 *
 * Revision 1.3  2002/06/26 17:29:28  harald
 * First pre-release with 2.4 stack
 *
 * 

#include <sys/types.h>
#include <cfg/eeprom.h>

Defines

#define CONFOS_EE_MAGIC   "OS"
#define CONFOS_EE_OFFSET   0
 Non-volatile memory location.

Functions

struct __attribute__ ((packed)) _CONFOS CONFOS
 Operating system configuration type.
__BEGIN_DECLS int NutLoadConfig (void)
 Load Nut/OS configuration from non-volatile memory.
int NutSaveConfig (void)
 Save Nut/OS configuration in non-volatile memory.

Variables

CONFOS confos
 Global system configuration structure.


Generated on Tue Jan 23 21:12:26 2007 for BTnut System Software by doxygen 1.4.7