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

@@ -4,4 +4,4 @@ struct peer;
void outgoing_cleanup();
typedef void (*outgoing_connection_handler)(int fd, void *, struct peer *);
void outgoing_new(char *, char *, outgoing_connection_handler, void *);
void outgoing_new(char *, char *, outgoing_connection_handler, void *, uint32_t *);