summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 986c17a..4461a85 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -46,9 +46,6 @@ extern time_t g_now;
46extern uint32_t g_tracker_id; 46extern uint32_t g_tracker_id;
47typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG; 47typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG;
48 48
49/* Try to bind to ip:port pair. May call exit() on failure */
50int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto );
51
52typedef struct { 49typedef struct {
53 uint8_t data[8]; 50 uint8_t data[8];
54} ot_peer; 51} ot_peer;