In/out reference counting.

This commit is contained in:
Ian Gulliver
2016-02-25 16:17:25 -08:00
parent aa940137c1
commit 5e604f0596
9 changed files with 35 additions and 12 deletions

View File

@@ -9,6 +9,9 @@ struct peer {
int fd;
peer_event_handler event_handler;
};
extern uint32_t peer_count_in, peer_count_out;
void peer_init();
void peer_cleanup();
void peer_shutdown();