- split status.c into status.c and statusfile.c

- improvements for scriptcontext.c
This commit is contained in:
zolliker
2008-02-13 13:07:30 +00:00
parent 8ebd3b2772
commit 8cf738869d
13 changed files with 333 additions and 277 deletions

24
statusfile.h Normal file
View File

@ -0,0 +1,24 @@
/*--------------------------------------------------------------------------
Status files
Mark Koennecke, November 1996
copyright: see implementation file
----------------------------------------------------------------------------*/
#ifndef STATUSFILE_H
#define STATUSFILE_H
#include <sics.h>
int InstallBckRestore(SConnection *pCon, SicsInterp *pSics);
int BackupStatus(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int RestoreStatus(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int hasRestored();
int StatusFileTask(void *data); /* saves status file if parameters have changed */
void StatusFileDirty(void); /* indicate that the status file has to be rewritten */
#endif