diff options
Diffstat (limited to 'ftppolicy.h')
| -rw-r--r-- | ftppolicy.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ftppolicy.h b/ftppolicy.h new file mode 100644 index 0000000..4ecce6d --- /dev/null +++ b/ftppolicy.h @@ -0,0 +1,18 @@ +#ifndef VSF_FTPPOLICY_H +#define VSF_FTPPOLICY_H + +/* Forward delcarations */ +struct pt_sandbox; +struct vsf_session; + +/* policy_setup() + * PURPOSE + * Sets up a sandbox policy according to the currently enabled options. + * PARAMETERS + * p_sandbox - the sandbox to set the policy on + * p_sess - current vsftpd session object + */ +void policy_setup(struct pt_sandbox* p_sandbox, + const struct vsf_session* p_sess); + +#endif /* VSF_FTPPOLICY_H */ |
