Add connect_ports list to config struct instead of keeping extra global var.

Michael
This commit is contained in:
Michael Adam committed 2009-12-07 00:22:52 +01:00
1 parent c981b246ce
commit 4c0a4d985f
5 files changed
+22 -22

No files matched your search

+3 -2
View File
@@ -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_ */