diff options
author | Michael Adam <obnox@samba.org> | 2009-12-06 23:56:41 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-07 00:22:52 +0100 |
commit | 4c0a4d985f6067a4235bd6cf38f704f28d4858f0 (patch) | |
tree | 431aa289c1cb7dba80d7c0e1f3371d03322d8d22 /src/connect-ports.h | |
parent | c981b246ce2b0b9c3cee5878d0cbefffb8fc2370 (diff) | |
download | tinyproxy-4c0a4d985f6067a4235bd6cf38f704f28d4858f0.tar.gz tinyproxy-4c0a4d985f6067a4235bd6cf38f704f28d4858f0.zip |
Add connect_ports list to config struct instead of keeping extra global var.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/connect-ports.h | 5 |
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_ */ |