This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/utils/magiftpd/magiftpd.h

32 lines
534 B
C
Raw Normal View History

#ifndef __MAGIFTPD_H
#define __MAGIFTPD_H
struct ftpclient {
int fd;
int data_socket;
char current_path[PATH_MAX];
char data_ip[20];
int data_port;
int type;
2017-03-21 10:17:31 +00:00
char ip[20];
2017-03-22 03:54:31 +00:00
char hostip[20];
char name[16];
char password[32];
int data_srv_socket;
int status;
2017-03-21 12:18:51 +00:00
int seclevel;
};
struct ftpserver {
int port;
char *fileroot;
char *userdb;
2017-03-21 12:18:51 +00:00
char *upload_folder;
int upload_seclevel;
2017-04-04 21:53:57 +00:00
int min_active_port;
int max_active_port;
int last_active_port;
};
#endif