![]() |
Crossfire Client, Trunk
|
#include <glib.h>#include <stdbool.h>
Include dependency graph for metaserver.h:
This graph shows which files directly or indirectly include this file: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) |
| Fetch a list of servers from the built-in official metaservers. More... | |
| void | ms_init (void) |
| Initialize metaserver client. More... | |
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function: