void clean_deinit( void ) {
byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) );
-}
\ No newline at end of file
+}
void clean_all_torrents( void );
int clean_single_torrent( ot_torrent *torrent );
-#endif
\ No newline at end of file
+#endif
fix_mmapallocation( *reply, allocated, replysize );
return replysize;
-}
\ No newline at end of file
+}
int add_changeset_to_tracker( ot_byte *data, size_t len );
#endif
-#endif
\ No newline at end of file
+#endif
int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis );
void vector_remove_torrent( ot_vector *vector, ot_torrent *match );
-#endif
\ No newline at end of file
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h>
}
mutex_deinit( );
clean_deinit( );
-}
\ No newline at end of file
+}