00001 #ifndef VSF_PRELOGIN_H 00002 #define VSF_PRELOGIN_H 00003 00004 struct vsf_session; 00005 00006 /* init_connection() 00007 * PURPOSE 00008 * Called as an entry point to FTP protocol processing, when a client connects. 00009 * This function will emit the FTP greeting, then start talking FTP protocol 00010 * to the client. 00011 * PARAMETERS 00012 * p_sess - the current session object 00013 */ 00014 void init_connection(struct vsf_session* p_sess); 00015 00016 #endif /* VSF_PRELOGIN_H */