summaryrefslogtreecommitdiff
path: root/rpcapd/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpcapd/daemon.h')
-rw-r--r--rpcapd/daemon.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/rpcapd/daemon.h b/rpcapd/daemon.h
index bd240b80..83901e77 100644
--- a/rpcapd/daemon.h
+++ b/rpcapd/daemon.h
@@ -33,12 +33,18 @@
#ifndef __DAEMON_H__
#define __DAEMON_H__
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "sslutils.h"
+
//
// Returns 1 if the client closed the control connection explicitly, 0
// otherwise; used in active mode only.
//
-int daemon_serviceloop(SOCKET sockctrl_in, SOCKET sockctrl_out, int isactive,
- int nullAuthAllowed);
+int daemon_serviceloop(SOCKET sockctrl_in, SOCKET sockctrl_out, SSL *ssl,
+ int isactive, int nullAuthAllowed, int uses_ssl);
void sleep_secs(int secs);