summaryrefslogtreecommitdiffhomepage
path: root/src/connect-ports.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-06 23:56:41 +0100
committerMichael Adam <obnox@samba.org>2009-12-07 00:22:52 +0100
commit4c0a4d985f6067a4235bd6cf38f704f28d4858f0 (patch)
tree431aa289c1cb7dba80d7c0e1f3371d03322d8d22 /src/connect-ports.h
parentc981b246ce2b0b9c3cee5878d0cbefffb8fc2370 (diff)
Add connect_ports list to config struct instead of keeping extra global var.
Michael
Diffstat (limited to 'src/connect-ports.h')
-rw-r--r--src/connect-ports.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/connect-ports.h b/src/connect-ports.h
index 6ed6479..09aa350 100644
--- a/src/connect-ports.h
+++ b/src/connect-ports.h
@@ -22,8 +22,9 @@
#define _TINYPROXY_CONNECT_PORTS_H_
#include "common.h"
+#include "vector.h"
-extern void add_connect_port_allowed (int port);
-int check_allowed_connect_ports (int port);
+extern void add_connect_port_allowed (int port, vector_t *connect_ports);
+int check_allowed_connect_ports (int port, vector_t connect_ports);
#endif /* _TINYPROXY_CONNECT_PORTS_ */