infostring.h
Go to the documentation of this file.00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef __INFOSTRING_H__
00029 #define __INFOSTRING_H__
00030
00031
00032 #define MAX_INFO_KEY 64
00033 #define MAX_INFO_VALUE 64
00034 #define MAX_INFO_STRING 512
00035
00036 const char *Info_ValueForKey(const char *s, const char *key);
00037 const char *Info_BoolForKey(const char *s, const char *key);
00038 int Info_IntegerForKey(const char *s, const char *key);
00039 void Info_RemoveKey(char *s, const char *key);
00040 void Info_SetValueForKey(char *s, const size_t size, const char *key, const char *value);
00041 void Info_SetValueForKeyAsInteger(char *s, const size_t size, const char *key, const int value);
00042 void Info_Print(const char *s);
00043 qboolean Info_Validate(const char *s);
00044
00045 #endif