diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:25:05 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:25:05 +0900 |
| commit | c7a201b58080c7a0f57b38c59e7865aa42c1d029 (patch) | |
| tree | cde6146e3aada31e68594fd4f034abe90621ce34 /ftppolicy.h | |
| download | vsftpd-master.tar.gz vsftpd-master.zip | |
Import vsftpd-3.0.5.tar.gzHEADlocal/vsftpdmaster
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 */ |
