prelogin.h 419 B

12345678910111213141516
  1. #ifndef VSF_PRELOGIN_H
  2. #define VSF_PRELOGIN_H
  3. struct vsf_session;
  4. /* init_connection()
  5. * PURPOSE
  6. * Called as an entry point to FTP protocol processing, when a client connects.
  7. * This function will emit the FTP greeting, then start talking FTP protocol
  8. * to the client.
  9. * PARAMETERS
  10. * p_sess - the current session object
  11. */
  12. void init_connection(struct vsf_session* p_sess);
  13. #endif /* VSF_PRELOGIN_H */