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

@@ -16,6 +16,8 @@
#include "peer.h"
uint32_t peer_count_in = 0, peer_count_out = 0;
static int peer_epoll_fd;
static int peer_shutdown_fd;
static bool peer_shutdown_flag = false;