ftp_server.h 316 B

1234567891011121314151617
  1. #ifndef __FTP_SERVER_H
  2. #define __FTP_SERVER_H
  3. #include "includes.h"
  4. #include "lwip/sockets.h"
  5. extern INT32S g_ftp_cmd_socket;
  6. extern INT32S g_ftp_data_socket;
  7. #define FTP_CMD_PORT 21
  8. #define FTP_DATA_PORT 40732
  9. void ftp_server_cmd_task(void);
  10. void ftp_server_data_task(void);
  11. void ftp_server_init(void);
  12. #endif