uFTP/ftpServer.h
Ugo Cirmignani 1672a05e28 fixed some issues
2017-11-05 11:14:21 +01:00

30 lines
578 B
C

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: ftpServer.h
* Author: ugo
*
* Created on 7 ottobre 2017, 17.37
*/
#ifndef FTPSERVER_H
#define FTPSERVER_H
#define MAX_FTP_CLIENTS 10
void runFtpServer(void);
int createPassiveSocket(int port);
void *pasvThreadHandler(void * socketId);
void pasvThreadHandlerCleanup(void *socketId);
void signal_callback_handler(int signum);
#endif /* FTPSERVER_H */