banner.h

説明を見る。
00001 #ifndef VSF_BANNER_H
00002 #define VSF_BANNER_H
00003 
00004 struct vsf_session;
00005 struct mystr;
00006 
00007 /* vsf_banner_dir_changed()
00008  * PURPOSE
00009  * This function, when called, will check if the current directory has just
00010  * been entered for the first time in this session. If so, and message file
00011  * support is on, a message file is looked for (default .message), and output
00012  * to the FTP control connection with the FTP code prefix specified by
00013  * "ftpcode".
00014  * PARAMETERS
00015  * p_sess         - the current FTP session object
00016  * ftpcode        - the FTP code to show with the message
00017  */
00018 void vsf_banner_dir_changed(struct vsf_session* p_sess, int ftpcode);
00019 
00020 /* vsf_banner_write()
00021  * PURPOSE
00022  * This function, when called, will write the specified string as a multiline
00023  * FTP banner, using the specified FTP response code.
00024  * PARAMETERS
00025  * p_sess         - the current FTP session object
00026  * p_str          - the string to write
00027  * ftpcode        - the FTP code to show with the message
00028  */
00029 void vsf_banner_write(struct vsf_session* p_sess, struct mystr* p_str,
00030                       int ftpcode);
00031 
00032 #endif /* VSF_BANNER_H */
00033 

Sat Aug 1 13:42:11 2009に生成されました。  doxygen 1.4.7