Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
767 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Utility functions for parsing info strings
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef INFO_H
  8. #define INFO_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. const char *Info_ValueForKey( const char *s, const char *key );
  13. void Info_RemoveKey( char *s, const char *key );
  14. void Info_RemovePrefixedKeys( char *start, char prefix );
  15. bool Info_IsKeyImportant( const char *key );
  16. char *Info_FindLargestKey( char *s, int maxsize );
  17. void Info_SetValueForStarKey ( char *s, const char *key, const char *value, int maxsize );
  18. void Info_SetValueForKey (char *s, const char *key, const char *value, int maxsize);
  19. #endif // INFO_H