summaryrefslogtreecommitdiff
path: root/common/info_key.h
blob: ab5d2a77cdb0046fcfb9729223df91bb77b953ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Utility functions for parsing info strings
//
// $NoKeywords: $
//=============================================================================//

#ifndef INFO_H
#define INFO_H
#ifdef _WIN32
#pragma once
#endif

const char *Info_ValueForKey( const char *s, const char *key );
void Info_RemoveKey( char *s, const char *key );
void Info_RemovePrefixedKeys( char *start, char prefix );
bool Info_IsKeyImportant( const char *key );
char *Info_FindLargestKey( char *s, int maxsize );
void Info_SetValueForStarKey ( char *s, const char *key, const char *value, int maxsize );
void Info_SetValueForKey (char *s, const char *key, const char *value, int maxsize);



#endif // INFO_H