rnd-20030119-1-src
[rocksndiamonds.git] / src / libgame / setup.h
index cc26e2bf610ab6be4bd239dbdc88b7ed6b976de8..e5dc50d88ea7b4c873f64a185d9653730f8efe40 100644 (file)
 /* cookie token for file identifier and version number */
 #define TOKEN_STR_FILE_IDENTIFIER      "file_identifier"
 
-/* structures for setup file handling */
-struct SetupFileList
-{
-  char *token;
-  char *value;
-  struct SetupFileList *next;
-};
-
 struct TokenInfo
 {
   int type;
@@ -214,6 +206,7 @@ boolean checkCookieString(const char *, const char *);
 
 char *getFormattedSetupEntry(char *, char *);
 void freeSetupFileList(struct SetupFileList *);
+struct SetupFileList *newSetupFileList(char *, char *);
 char *getTokenValue(struct SetupFileList *, char *);
 void setTokenValue(struct SetupFileList *, char *, char *);
 struct SetupFileList *loadSetupFileList(char *);