File: ftppolicy.h

package info (click to toggle)
vsftpd 3.0.3-12
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,548 kB
  • sloc: ansic: 16,632; sh: 267; makefile: 51; python: 18
file content (18 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (6)
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 */