fix a snafu in SVC_DirectConnect related to info strings, make

Info_ParseString take (and pass on to Info_SetValueForStarKey) a flags arg
and simplify the flags handing in Info_SetValueForStarKey.
This commit is contained in:
Bill Currie 2003-02-19 17:39:21 +00:00
parent b6a3bc8d1c
commit d93fceea38
6 changed files with 25 additions and 36 deletions

View file

@ -55,7 +55,7 @@ void Info_SetValueForKey (info_t *info, const char *key, const char *value, int
void Info_SetValueForStarKey (info_t *info, const char *key, const char *value, int flags);
const char *Info_ValueForKey (info_t *info, const char *key);
info_t *Info_ParseString (const char *s, int maxsize);
info_t *Info_ParseString (const char *s, int maxsize, int flags);
void Info_Destroy (info_t *info);
char *Info_MakeString (info_t *info, int (*filter)(const char *));