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
2017-03-21 15:06:46 +10:00

25 lines
372 B
C

#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;
// char ip[20];
char name[16];
char password[32];
int data_srv_socket;
int status;
};
struct ftpserver {
int port;
char *fileroot;
char *userdb;
};
#endif