summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2008-10-06 02:06:23 +0000
committererdgeist <>2008-10-06 02:06:23 +0000
commit206c74ee2fec762787187b9af0b836787472a364 (patch)
tree24e6a861256d5e2530cc5a5b4023bed2002c2631
parent465cc2ecdf14909144debe70a4833642e11697da (diff)
Make ot_try_bind local again.
-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;