mirror of
https://github.com/kingk85/uFTP.git
synced 2025-07-25 13:16:12 +03:00
17 lines
298 B
C
17 lines
298 B
C
#ifndef CTRL_CHANNEL_H
|
|
#define CTRL_CHANNEL_H
|
|
|
|
#include "ftpData.h"
|
|
|
|
typedef int (*CommandHandler)(struct FtpDataType*, int);
|
|
|
|
typedef struct {
|
|
const char* command;
|
|
CommandHandler handler;
|
|
} CommandMapEntry;
|
|
|
|
void evaluateControlChannel(ftpDataType *ftpData);
|
|
|
|
#endif /* DATA_CHANNEL_H */
|
|
|