34 #define MAX_INFO_KEY 64
35 #define MAX_INFO_VALUE 64
36 #define MAX_INFO_STRING 512
bool Info_Validate(const char *s)
Some characters are illegal in info strings because they can mess up the server's parsing...
void Info_SetValueForKeyAsInteger(char *s, const size_t size, const char *key, const int value)
int Info_IntegerForKey(const char *s, const char *key)
const char * Info_ValueForKey(const char *s, const char *key)
Searches the string for the given key and returns the associated value, or an empty string...
void Info_Print(const char *s)
Prints info strings (like userinfo or serverinfo - CVAR_USERINFO, CVAR_SERVERINFO) ...
const char * Info_BoolForKey(const char *s, const char *key)
void Info_RemoveKey(char *s, const char *key)
Searches through s for key and remove is.
void Info_SetValueForKey(char *s, const size_t size, const char *key, const char *value)
Adds a new entry into string with given value.
Cross-platform type definitions.