24#define SERVER_LAN_PORT 4555
25#define SERVER_LAN_TTL 1
26#define SERVER_LAN_VERSION 2
51#define SPECLIST_TAG server
52#define SPECLIST_TYPE struct server
55#define server_list_iterate(serverlist, pserver) \
56 TYPED_LIST_ITERATE(struct server, serverlist, pserver)
57#define server_list_iterate_end LIST_ITERATE_END
static struct server_list * server_list
struct srv_list * server_scan_get_list(struct server_scan *scan)
void server_scan_finish(struct server_scan *scan)
struct server_scan * server_scan_begin(enum server_scan_type type, ServerScanErrorFunc error_func)
enum server_scan_type server_scan_get_type(const struct server_scan *scan)
void(* ServerScanErrorFunc)(struct server_scan *scan, const char *message)
enum server_scan_status server_scan_poll(struct server_scan *scan)
ServerScanErrorFunc error_func
struct server_list * servers