#ifndef _FTP_MANAGER_H | |
#define _FTP_MANAGER_H | |
#include "thread_pool.h" | |
#include "list.h" | |
#include "ftp/lynq_ftp.h" | |
#include "common.h" | |
typedef struct | |
{ | |
int id; | |
char *action; | |
int (*ftp_action)(lynq_ftp_socker_info* FTP); | |
}FTP_MAG_S; | |
typedef struct FTP_LIST_LINK | |
{ | |
struct list_head list; | |
lynq_ftp_socker_info data; | |
}FTP_LIST_LINK_S; | |
void ftp_list_init(void); | |
int ftp_list_locate(void); | |
int ftp_param_verification(char result[][BUF_SIZE] , int line); | |
int ftp_act_handler(thread_pool_t *pool); | |
#endif |