ftppolicy.h 465 B

123456789101112131415161718
  1. #ifndef VSF_FTPPOLICY_H
  2. #define VSF_FTPPOLICY_H
  3. /* Forward delcarations */
  4. struct pt_sandbox;
  5. struct vsf_session;
  6. /* policy_setup()
  7. * PURPOSE
  8. * Sets up a sandbox policy according to the currently enabled options.
  9. * PARAMETERS
  10. * p_sandbox - the sandbox to set the policy on
  11. * p_sess - current vsftpd session object
  12. */
  13. void policy_setup(struct pt_sandbox* p_sandbox,
  14. const struct vsf_session* p_sess);
  15. #endif /* VSF_FTPPOLICY_H */