Add connect_ports list to config struct instead of keeping extra global var.
Michael
This commit is contained in:
1 parent
c981b246ce
commit
4c0a4d985f
5 files changed
+22
-22
No files matched your search
+3
-2
@@ -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_ */
|
||||
Reference in new issue
Block a user