Crossfire Client, Trunk
|
#include <glib.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | Meta_Info |
Macros | |
#define | MS_LARGE_BUF 512 |
#define | MS_SMALL_BUF 60 |
Typedefs | |
typedef void(* | ms_callback) (char *, int, int, char *, char *, bool) |
Functions | |
void | ms_fetch (ms_callback) |
void | ms_init (void) |
Metaserver functions and data structures
Definition in file metaserver.h.
#define MS_LARGE_BUF 512 |
Definition at line 12 of file metaserver.h.
#define MS_SMALL_BUF 60 |
Definition at line 11 of file metaserver.h.
typedef void(* ms_callback) (char *, int, int, char *, char *, bool) |
Definition at line 9 of file metaserver.h.
void ms_fetch | ( | ms_callback | callback | ) |
Fetch a list of servers from the built-in official metaservers.
Because this function can query multiple metaservers, the same servers may be listed multiple times in the results.
Definition at line 269 of file metaserver.c.
References metaservers, and ms_fetch_server().
Referenced by main(), and server_fetch().
void ms_init | ( | ) |
Initialize metaserver client. This function should be called before any other metaserver functions.
Definition at line 257 of file metaserver.c.
Referenced by client_init(), and main().