aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-07-25 14:08:02 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-07-25 14:08:02 +0300
commit626a2b23de006154b6cb3fa334a97dc547d56a98 (patch)
treec52b283f470aecc19de5ba42a5ca47c322b67aad /src/common/sandbox.h
parent3dfe1c06396665d4008ba2ea54a0ad23d445df2b (diff)
downloadtor-626a2b23de006154b6cb3fa334a97dc547d56a98.tar
tor-626a2b23de006154b6cb3fa334a97dc547d56a98.tar.gz
integrated context for dynamic filters
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 2cb8ab880..c6d80659e 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -81,7 +81,10 @@ typedef struct pfd_elem sandbox_cfg_t;
void sandbox_set_debugging_fd(int fd);
int tor_global_sandbox(void);
char* get_prot_param(char *param);
+
+sandbox_cfg_t * sandbox_cfg_new();
int sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file);
+int sandbox_init(sandbox_cfg_t* cfg);
#endif /* SANDBOX_H_ */