00001 /* $Id: network_gamelist.h 9050 2007-03-07 11:47:46Z rubidium $ */ 00002 00003 #ifndef NETWORK_GAMELIST_H 00004 #define NETWORK_GAMELIST_H 00005 00007 struct NetworkGameList { 00008 NetworkGameInfo info; 00009 uint32 ip; 00010 uint16 port; 00011 bool online; 00012 bool manually; 00013 uint8 retries; 00014 NetworkGameList *next; 00015 }; 00016 00018 extern NetworkGameList *_network_game_list; 00019 00020 NetworkGameList *NetworkGameListAddItem(uint32 ip, uint16 port); 00021 void NetworkGameListRemoveItem(NetworkGameList *remove); 00022 void NetworkGameListRequery(); 00023 00024 #endif /* NETWORK_GAMELIST_H */