2006-02-24 05:03:04 +00:00
|
|
|
|
|
|
|
//**************************************************************************
|
|
|
|
//**
|
|
|
|
//** strlist.h
|
|
|
|
//**
|
|
|
|
//**************************************************************************
|
|
|
|
|
|
|
|
#ifndef __STRLIST_H__
|
|
|
|
#define __STRLIST_H__
|
|
|
|
|
|
|
|
// HEADER FILES ------------------------------------------------------------
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
// MACROS ------------------------------------------------------------------
|
|
|
|
|
|
|
|
// TYPES -------------------------------------------------------------------
|
|
|
|
|
|
|
|
// PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
|
|
|
|
|
|
|
|
void STR_Init(void);
|
|
|
|
int STR_Find(char *name);
|
2014-07-22 04:32:57 +00:00
|
|
|
char *STR_Get(int index);
|
2006-02-24 05:03:04 +00:00
|
|
|
void STR_WriteStrings(void);
|
|
|
|
void STR_WriteList(void);
|
|
|
|
int STR_FindInList(int list, char *name);
|
2012-02-16 22:18:01 +00:00
|
|
|
int STR_FindInListInsensitive(int list, char *name);
|
2006-02-24 05:03:04 +00:00
|
|
|
int STR_AppendToList(int list, char *name);
|
|
|
|
const char *STR_GetString(int list, int index);
|
2014-07-24 20:16:30 +00:00
|
|
|
void STR_WriteChunk(boolean encrypt);
|
2006-02-24 05:03:04 +00:00
|
|
|
void STR_WriteListChunk(int list, int id, boolean quad);
|
2014-07-24 20:16:30 +00:00
|
|
|
int STR_ListSize();
|
2006-02-24 05:03:04 +00:00
|
|
|
|
|
|
|
// PUBLIC DATA DECLARATIONS ------------------------------------------------
|
|
|
|
|
2014-07-24 20:16:30 +00:00
|
|
|
extern int NumStringLists;
|
2006-02-24 05:03:04 +00:00
|
|
|
|
|
|
|
#endif
|