1 Star 0 Fork 0

mamh-mixed/vsftpd-3.0.5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
banner.h 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
bright.ma 提交于 2022-01-29 15:53 . add code for vsftpd-3.0.5
#ifndef VSF_BANNER_H
#define VSF_BANNER_H
struct vsf_session;
struct mystr;
/* vsf_banner_dir_changed()
* PURPOSE
* This function, when called, will check if the current directory has just
* been entered for the first time in this session. If so, and message file
* support is on, a message file is looked for (default .message), and output
* to the FTP control connection with the FTP code prefix specified by
* "ftpcode".
* PARAMETERS
* p_sess - the current FTP session object
* ftpcode - the FTP code to show with the message
*/
void vsf_banner_dir_changed(struct vsf_session* p_sess, int ftpcode);
/* vsf_banner_write()
* PURPOSE
* This function, when called, will write the specified string as a multiline
* FTP banner, using the specified FTP response code.
* PARAMETERS
* p_sess - the current FTP session object
* p_str - the string to write
* ftpcode - the FTP code to show with the message
*/
void vsf_banner_write(struct vsf_session* p_sess, struct mystr* p_str,
int ftpcode);
#endif /* VSF_BANNER_H */
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mamh-mixed/vsftpd-3.0.5.git
git@gitee.com:mamh-mixed/vsftpd-3.0.5.git
mamh-mixed
vsftpd-3.0.5
vsftpd-3.0.5
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385