summaryrefslogtreecommitdiff
path: root/ot_udp.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2012-04-25 05:48:16 +0000
committerDirk Engling <erdgeist@erdgeist.org>2012-04-25 05:48:16 +0000
commit0a459842464837f3f81e15e7578c187bcee95d97 (patch)
tree21a600945261ccbc21bb312de142b39fe2cd122d /ot_udp.h
parent34b53c92822cca9ee32a489be78a60f37cd54428 (diff)
downloadopentracker-0a459842464837f3f81e15e7578c187bcee95d97.tar.gz
opentracker-0a459842464837f3f81e15e7578c187bcee95d97.zip
Add functionality to distribute udp to several workers
Diffstat (limited to 'ot_udp.h')
-rw-r--r--ot_udp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot_udp.h b/ot_udp.h
index dea10ab..a4f6ce0 100644
--- a/ot_udp.h
+++ b/ot_udp.h
@@ -6,6 +6,7 @@
#ifndef __OT_UDP_H__
#define __OT_UDP_H__
-int handle_udp6( int64 serversocket, struct ot_workstruct *ws );
+void udp_init( int64 sock, unsigned int worker_count );
+int handle_udp6( int64 serversocket, struct ot_workstruct *ws );
#endif