summaryrefslogtreecommitdiffstats
path: root/src/protocol-native.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol-native.h')
-rw-r--r--src/protocol-native.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/protocol-native.h b/src/protocol-native.h
index bdad03b4..88283e1c 100644
--- a/src/protocol-native.h
+++ b/src/protocol-native.h
@@ -1,9 +1,12 @@
#ifndef fooprotocolnativehfoo
#define fooprotocolnativehfoo
+#include "core.h"
+#include "socket-server.h"
+
struct protocol_native;
-struct protocol_native* protocol_native(struct socket_server *server);
+struct protocol_native* protocol_native_new(struct core*core, struct socket_server *server);
void protocol_native_free(struct protocol_native *n);
#endif