Counter Strike : Global Offensive Source Code
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.

33 lines
956 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef INFO_H
  14. #define INFO_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. #include "filesystem.h"
  19. #define MAX_INFO_STRING 256
  20. void Info_SetValueForStarKey ( char *s, const char *key, const char *value, int maxsize);
  21. // userinfo functions
  22. const char *Info_ValueForKey ( const char *s, const char *key );
  23. void Info_RemoveKey ( char *s, const char *key );
  24. void Info_RemovePrefixedKeys ( char *start, char prefix );
  25. void Info_SetValueForKey ( char *s, const char *key, const char *value, int maxsize );
  26. void Info_Print ( const char *s );
  27. void Info_WriteVars( char *s, FileHandle_t fp );
  28. #endif // INFO_H