forward port the client info string filtering from 0.3 and remove info.h from

a couple of c files that no longer need it.
This commit is contained in:
Bill Currie 2001-09-11 03:10:29 +00:00
parent 8c026417d8
commit 74e9f89e8c
8 changed files with 63 additions and 18 deletions

View file

@ -36,12 +36,13 @@
#define MAX_SERVERINFO_STRING 512
#define MAX_LOCALINFO_STRING 32768
const char *Info_ValueForKey (const char *s, const char *key);
qboolean Info_FilterForKey (const char *key, const char **filter_list);
void Info_Print (const char *s);
void Info_RemoveKey (char *s, const char *key);
void Info_RemovePrefixedKeys (char *start, char prefix);
void Info_RemovePrefixedKeys (char *start, char prefix, const char **filter_list);
void Info_SetValueForKey (char *s, const char *key, const char *value, size_t maxsize, int flags);
void Info_SetValueForStarKey (char *s, const char *key, const char *value, size_t maxsize, int flags);
void Info_Print (const char *s);
const char *Info_ValueForKey (const char *s, const char *key);
qboolean Info_Validate (const char *s);
#endif // _INFO_H