persist.h File Reference

Functions relating to data persistence. More...

#include "ntw.h"

Go to the source code of this file.

Functions

int ntw_save_state (char *filename)
 Save state of all widgets to file.
int ntw_load_state (char *filename)
 Load state of all widgets from file.


Detailed Description

Functions relating to data persistence.


Function Documentation

int ntw_load_state char *  filename  ) 
 

Load state of all widgets from file.

May clobber any existing widgets. This should be done before any new widgets are created.

Parameters:
filename Name of file to load state from
Returns:
-1 on failure

int ntw_save_state char *  filename  ) 
 

Save state of all widgets to file.

Parameters:
filename Name of file to save state to
Returns:
-1 on failure


Generated on Wed Jun 28 17:00:07 2006 for NTW Server C Library by  doxygen 1.4.6