1 Star 0 Fork 0

mamh-mixed/vsftpd-3.0.5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
utility.h 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
bright.ma 提交于 2022-01-29 15:53 . add code for vsftpd-3.0.5
#ifndef VSF_UTILITY_H
#define VSF_UTILITY_H
struct mystr;
/* die()
* PURPOSE
* Terminate execution of the process, due to an abnormal (but non-bug)
* situation.
* PARAMETERS
* p_text - text string describing why the process is exiting
*/
void die(const char* p_text);
/* die2()
* PURPOSE
* Terminate execution of the process, due to an abnormal (but non-bug)
* situation.
* PARAMETERS
* p_text1 - text string describing why the process is exiting
* p_text2 - text to safely concatenate to p_text1
*/
void die2(const char* p_text1, const char* p_text2);
/* bug()
* PURPOSE
* Terminate execution of the process, due to a suspected bug, trying to emit
* the reason this happened down the network in FTP response format.
* PARAMETERS
* p_text - text string describing what bug trap has triggered
* */
void bug(const char* p_text);
/* vsf_exit()
* PURPOSE
* Terminate execution of the process, writing out the specified text string
* in the process.
* PARAMETERS
* p_text - text string describing why the process is exiting
*/
void vsf_exit(const char* p_text);
#endif
马建仓 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