2023-06-19 12:43:53 -04:00
|
|
|
#ifndef EL__PROTOCOL_CURL_FTPES_H
|
|
|
|
#define EL__PROTOCOL_CURL_FTPES_H
|
2023-06-17 11:48:45 -04:00
|
|
|
|
2024-05-27 05:55:13 -04:00
|
|
|
#ifdef CONFIG_LIBCURL
|
|
|
|
#include <curl/curl.h>
|
|
|
|
#endif
|
|
|
|
|
2023-06-17 11:48:45 -04:00
|
|
|
#include "main/module.h"
|
|
|
|
#include "protocol/protocol.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern struct module ftpes_protocol_module;
|
|
|
|
|
2023-07-24 10:52:01 -04:00
|
|
|
#if defined(CONFIG_FTP) && defined(CONFIG_LIBCURL)
|
2023-06-17 11:48:45 -04:00
|
|
|
extern protocol_handler_T ftpes_protocol_handler;
|
2024-05-27 05:55:13 -04:00
|
|
|
void ftp_curl_handle_error(struct connection *conn, CURLcode res);
|
2023-06-17 11:48:45 -04:00
|
|
|
#else
|
|
|
|
#define ftpes_protocol_handler NULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|