mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-29 23:21:58 +00:00
18 lines
422 B
C
18 lines
422 B
C
|
#include <quakeio.h>
|
||
|
#define MAX_SERVER_LIST 256
|
||
|
|
||
|
typedef struct {
|
||
|
char *server;
|
||
|
char *description;
|
||
|
int ping;
|
||
|
} server_entry_t;
|
||
|
|
||
|
extern server_entry_t slist[MAX_SERVER_LIST];
|
||
|
|
||
|
void Server_List_Init(void);
|
||
|
void Server_List_Shutdown(void);
|
||
|
int Server_List_Set(int i,char *addr,char *desc);
|
||
|
int Server_List_Load(QFile *f);
|
||
|
char *gettokstart (char *str, int req, char delim);
|
||
|
int gettoklen(char *str, int req, char delim);
|