- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
33
ifile.h
33
ifile.h
@ -13,22 +13,21 @@
|
||||
#define MKIFILE
|
||||
#include <stdio.h>
|
||||
|
||||
typedef struct __IFileE
|
||||
{
|
||||
char *name;
|
||||
char *value;
|
||||
struct __IFileE *pNext;
|
||||
} IPair;
|
||||
|
||||
IPair *IFReadConfigFile(FILE *fp);
|
||||
char *IFindOption(IPair *pList,char *name);
|
||||
typedef struct __IFileE {
|
||||
char *name;
|
||||
char *value;
|
||||
struct __IFileE *pNext;
|
||||
} IPair;
|
||||
|
||||
IPair *IFReadConfigFile(FILE * fp);
|
||||
char *IFindOption(IPair * pList, char *name);
|
||||
/* returns a value for a name
|
||||
*/
|
||||
IPair *IFAddOption(IPair *pList,char *name, char *value);
|
||||
IPair *IFSetOption(IPair *pList,char *name, char *value);
|
||||
|
||||
int IFSaveOptions(IPair *pList,FILE *fp);
|
||||
void IFDeleteOptions(IPair *pList);
|
||||
|
||||
extern IPair *pSICSOptions;
|
||||
*/
|
||||
IPair *IFAddOption(IPair * pList, char *name, char *value);
|
||||
IPair *IFSetOption(IPair * pList, char *name, char *value);
|
||||
|
||||
int IFSaveOptions(IPair * pList, FILE * fp);
|
||||
void IFDeleteOptions(IPair * pList);
|
||||
|
||||
extern IPair *pSICSOptions;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user