Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

59 lines
826 B
C

/******
gserver.h
GameSpy C Engine SDK
Copyright 1999 GameSpy Industries, Inc
Suite E-204
2900 Bristol Street
Costa Mesa, CA 92626
(714)549-7689
Fax(714)549-0757
******
Please see the GameSpy C Engine SDK documentation for more
information
******/
#include "goaceng.h"
#ifndef _GSERVER_H_
#define _GSERVER_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "hashtable.h"
struct GServerImplementation
{
char ip[16];
int port;
int ping;
HashTable keyvals;
};
typedef struct
{
char *key, *value;
} GKeyValuePair;
typedef struct
{
KeyEnumFn EnumFn;
void *instance;
} GEnumData;
void _cdecl ServerFree(void *elem);
GServer ServerNew(char *ip, int port);
void ServerParseKeyVals(GServer server, char *keyvals);
#ifdef __cplusplus
}
#endif
#endif