![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "darkplaces.h"
Go to the source code of this file.
Functions | |
size_t | InfoString_GetValue (const char *buffer, const char *key, char *value, size_t valuesize) |
Returns the number of bytes written to *value excluding the \0 terminator. | |
void | InfoString_Print (char *buffer) |
void | InfoString_SetValue (char *buffer, size_t bufferlength, const char *key, const char *value) |
size_t InfoString_GetValue | ( | const char * | buffer, |
const char * | key, | ||
char * | value, | ||
size_t | valuesize ) |
Returns the number of bytes written to *value excluding the \0 terminator.
Definition at line 23 of file com_infostring.c.
References buffer, Con_Printf(), strlen(), and value.
Referenced by CL_FullServerinfo_f(), CL_Reconnect_f(), Crypto_ClientParsePacket(), Crypto_ServerParsePacket(), Crypto_ServerParsePacket_Internal(), Curl_Begin(), NetConn_ClientParsePacket(), NetConn_ServerParsePacket(), QW_CL_ProcessUserInfo(), QW_CL_ServerInfo(), VM_CL_serverkey(), VM_infoget(), and VM_SV_serverkey().
void InfoString_Print | ( | char * | buffer | ) |
Definition at line 136 of file com_infostring.c.
References buffer, Con_Printf(), i, MAX_INPUTLINE, and value.
Referenced by CL_SetInfo_f(), and CL_User_f().
void InfoString_SetValue | ( | char * | buffer, |
size_t | bufferlength, | ||
const char * | key, | ||
const char * | value ) |
Definition at line 74 of file com_infostring.c.
References buffer, Con_Printf(), dp_strlcpy, dpsnprintf(), int(), MAX_INPUTLINE, strlen(), and value.
Referenced by CL_EstablishConnection(), CL_SetInfo(), Cvar_SetQuick_Internal(), NetConn_ClientParsePacket(), QW_CL_ServerInfo(), QW_CL_SetInfo(), and VM_infoadd().