summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 34cee3b..eb2906b 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -96,6 +96,31 @@ struct ot_peerlist {
96}; 96};
97#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list) && ((peer_list)->peers.size > (peer_list)->peers.space)) 97#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list) && ((peer_list)->peers.size > (peer_list)->peers.space))
98 98
99struct ot_workstruct {
100 /* Thread specific, static */
101#define THREAD_INBUF_SIZE 8192
102 char *inbuf;
103 size_t inbuf_size;
104#define THREAD_OUTBUF_SIZE 8192
105 char *outbuf;
106 size_t outbuf_size;
107#ifdef _DEBUG_HTTPERROR
108#define THREAD_DEBUGBUF_SIZE 8192
109 char *debugbuf;
110 size_t debugbuf_size;
111#endif
112
113 /* HTTP specific, non static */
114 char *request;
115 ssize_t request_size;
116 char *reply;
117 ssize_t reply_size;
118#ifdef _DEBUG_PEERID
119 char *peer_id;
120 ssize_t peer_id_size;
121#endif
122};
123
99/* 124/*
100 Exported functions 125 Exported functions
101*/ 126*/