# network_gamelist.h

Go to the documentation of this file.

    00001 /* $Id: network_gamelist.h 15159 2009-01-20 03:44:43Z rubidium $ */
    00002
    00005 #ifndef NETWORK_GAMELIST_H
    00006 #define NETWORK_GAMELIST_H
    00007
    00008 #include "network_type.h"
    00009
    00011 struct NetworkGameList {
    00012   NetworkGameInfo info;
    00013   uint32 ip;
    00014   uint16 port;
    00015   bool online;
    00016   bool manually;
    00017   uint8 retries;
    00018   NetworkGameList *next;
    00019 };
    00020
    00022 extern NetworkGameList *_network_game_list;
    00023
    00024 void NetworkGameListAddItemDelayed(NetworkGameList *item);
    00025 NetworkGameList *NetworkGameListAddItem(uint32 ip, uint16 port);
    00026 void NetworkGameListRemoveItem(NetworkGameList *remove);
    00027 void NetworkGameListRequery();
    00028
    00029 #endif /* NETWORK_GAMELIST_H */