1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-27 01:25:34 +00:00
elinks/src/protocol/curl/sftp.h
Witold Filipczyk 17e905b95d [SFTP] Added -Dsftp option. Enabled by default
Fixed building tests.
SFTP can be disabled, even if FTP and libcurl are enabled.
2024-05-27 16:31:25 +02:00

24 lines
394 B
C

#ifndef EL__PROTOCOL_CURL_SFTP_H
#define EL__PROTOCOL_CURL_SFTP_H
#include "main/module.h"
#include "protocol/protocol.h"
#ifdef __cplusplus
extern "C" {
#endif
extern struct module sftp_protocol_module;
#if defined(CONFIG_SFTP) && defined(CONFIG_LIBCURL)
extern protocol_handler_T sftp_protocol_handler;
#else
#define sftp_protocol_handler NULL
#endif
#ifdef __cplusplus
}
#endif
#endif