⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 twoprocess.h

📁 文件传输协议linux 下vsftpd2.1.0.tar.gz
💻 H
字号:
#ifndef VSF_TWOPROCESS_H#define VSF_TWOPROCESS_Hstruct mystr;struct vsf_session;/* vsf_two_process_start() * PURPOSE * Called to start FTP login processing using the two process model. This * launches the unprivileged child to process the FTP login. * PARAMETERS * p_sess       - the current session object */void vsf_two_process_start(struct vsf_session* p_sess);/* vsf_two_process_login() * PURPOSE * Called to propose a login using the two process model. * PARAMETERS * p_sess       - the current session object * p_pass_str   - the proposed password */void vsf_two_process_login(struct vsf_session* p_sess,                           const struct mystr* p_pass_str);/* vsf_two_process_get_priv_data_sock() * PURPOSE * Get a privileged port 20 bound data socket using the two process model. * PARAMETERS * p_sess       - the current session object * RETURNS * The file descriptor of the privileged socket */int vsf_two_process_get_priv_data_sock(struct vsf_session* p_sess);/* vsf_two_process_chown_upload() * PURPOSE * Change ownership of an uploaded file using the two process model. * PARAMETERS * p_sess       - the current session object * fd           - the file descriptor to change ownership on */void vsf_two_process_chown_upload(struct vsf_session* p_sess, int fd);#endif /* VSF_TWOPROCESS_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -