summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 87b9138..ef59179 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -133,7 +133,6 @@ struct ot_workstruct {
133 char *peer_id; 133 char *peer_id;
134 134
135 /* HTTP specific, non static */ 135 /* HTTP specific, non static */
136 int keep_alive;
137 char *request; 136 char *request;
138 ssize_t request_size; 137 ssize_t request_size;
139 ssize_t header_size; 138 ssize_t header_size;
@@ -143,6 +142,8 @@ struct ot_workstruct {
143 /* Entropy state for rand48 function so that threads don't need to acquire mutexes for 142 /* Entropy state for rand48 function so that threads don't need to acquire mutexes for
144 global random() or arc4random() state, which causes heavy load on linuxes */ 143 global random() or arc4random() state, which causes heavy load on linuxes */
145 uint16_t rand48_state[3]; 144 uint16_t rand48_state[3];
145
146 int keep_alive;
146}; 147};
147 148
148/* 149/*
@@ -163,7 +164,7 @@ struct ot_workstruct {
163#error Live logging networks disabled at the moment. 164#error Live logging networks disabled at the moment.
164#endif 165#endif
165 166
166void trackerlogic_init( ); 167void trackerlogic_init( void );
167void trackerlogic_deinit( void ); 168void trackerlogic_deinit( void );
168void exerr( char * message ); 169void exerr( char * message );
169 170