PSI sics-cvs-psi_pre-ansto

This commit is contained in:
2003-06-13 00:00:00 +00:00
committed by Douglas Clowes
parent 2e3ddfb6c6
commit 3ffd0d8af4
1099 changed files with 318432 additions and 0 deletions

39
stringdict.h Normal file
View File

@@ -0,0 +1,39 @@
#line 53 "stringdict.w"
/*--------------------------------------------------------------------------
S T R I N G D I C T
A module which implements a general purpose string dictionary.
copyright: see implementation file
Mark Koennecke, April 1997
---------------------------------------------------------------------------*/
#ifndef SICSSTRINGDICT
#define SICSSTRINGDICT
typedef struct __StringDict *pStringDict;
#line 6 "stringdict.w"
pStringDict CreateStringDict(void);
void DeleteStringDict(pStringDict self);
int StringDictAddPair(pStringDict self, char *name, char *value);
int StringDictExists(pStringDict self, char *name);
int StringDictUpdate(pStringDict self, char *name, char *value);
int StringDictGet(pStringDict self, char *name, char *pResult, int iLen);
int StringDictGetAsNumber(pStringDict self, char *name, float *fVal);
int StringDictDelete(pStringDict self, char *name);
const char *StringDictGetNext(pStringDict self,
char *pValue, int iValLen);
void StringDictKillScan(pStringDict self);
#line 68 "stringdict.w"
#endif