mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-12 23:54:12 +00:00
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
|
|
//**************************************************************************
|
|
//**
|
|
//** 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);
|
|
char *STR_Get(int index);
|
|
void STR_WriteStrings(void);
|
|
void STR_WriteList(void);
|
|
int STR_FindInList(int list, char *name);
|
|
int STR_FindInListInsensitive(int list, char *name);
|
|
int STR_AppendToList(int list, char *name);
|
|
const char *STR_GetString(int list, int index);
|
|
void STR_WriteChunk(boolean encrypt);
|
|
void STR_WriteListChunk(int list, int id, boolean quad);
|
|
int STR_ListSize();
|
|
|
|
// PUBLIC DATA DECLARATIONS ------------------------------------------------
|
|
|
|
extern int NumStringLists;
|
|
|
|
#endif
|