1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-02 07:20:34 +00:00

Add more notes

This commit is contained in:
twinaphex 2020-08-03 17:18:54 +02:00
parent 77cf0ad524
commit e91e548f13

@ -71,19 +71,16 @@ struct ad_packet
char subsystem_name[NETPLAY_HOST_STR_LEN]; char subsystem_name[NETPLAY_HOST_STR_LEN];
}; };
/* TODO/FIXME - global referenced outside */ /* TODO/FIXME - globals referenced outside */
struct netplay_room *netplay_room_list = NULL; struct netplay_room *netplay_room_list = NULL;
/* TODO/FIXME - globals - remove to make code thread-safe */
int netplay_room_count = 0; int netplay_room_count = 0;
/* TODO/FIXME - static globals */
/* LAN discovery sockets */ /* LAN discovery sockets */
static int lan_ad_server_fd = -1; static int lan_ad_server_fd = -1;
static int lan_ad_client_fd = -1; static int lan_ad_client_fd = -1;
/* Packet buffer for advertisement and responses */ /* Packet buffer for advertisement and responses */
static struct ad_packet ad_packet_buffer; static struct ad_packet ad_packet_buffer;
/* List of discovered hosts */ /* List of discovered hosts */
static struct netplay_host_list discovered_hosts; static struct netplay_host_list discovered_hosts;
static size_t discovered_hosts_allocated; static size_t discovered_hosts_allocated;