~ubuntu-branches/ubuntu/trusty/vsftpd/trusty-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */