diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-12-14 21:02:26 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-12-14 21:02:26 +0000 |
commit | 0ec5f1b7a5689865d6cd10daa17883201766dc6a (patch) | |
tree | dad4b3cda0eb7e9ba444054faf230439381139fa /source/q_shared.h | |
parent | ec22a4f2dd42891b1e8c4ad9c44197d7e9245a8f (diff) |
Cleaned up info string stuff.
Properly redirect messages longer than rd_buffersize.
Diffstat (limited to 'source/q_shared.h')
-rw-r--r-- | source/q_shared.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/q_shared.h b/source/q_shared.h index f20a41e..84ba15e 100644 --- a/source/q_shared.h +++ b/source/q_shared.h @@ -554,10 +554,9 @@ static inline float FloatSwap( float f ) { char *Info_ValueForKey( const char *s, const char *key ); void Info_RemoveKey( char *s, const char *key ); -void Info_SetValueForKey( char *s, const char *key, const char *value ); -qboolean Info_AttemptSetValueForKey( char *s, const char *key, const char *value ); +qboolean Info_SetValueForKey( char *s, const char *key, const char *value ); qboolean Info_Validate( const char *s ); -qboolean Info_ValidateSubstring( const char *s ); +int Info_SubValidate( const char *s ); void Info_NextPair( const char **string, char *key, char *value ); void Info_Print( const char *infostring ); |