mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-29 01:45:34 +00:00
a67188413c
Implementation of ftpes and sftp is based on curl's hiperfifo example. It requires libevent. ftpes only encrypts control channel. There were problems when both control and data were encrypted. It stucked on SIZE. Only successful connections work, errors are not handled properly.
38 lines
594 B
C
38 lines
594 B
C
#ifndef EL__CONFIG_DOMAIN_H
|
|
#define EL__CONFIG_DOMAIN_H
|
|
|
|
#include "config/options.h"
|
|
#include "util/lists.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct session;
|
|
|
|
|
|
struct domain_tree {
|
|
LIST_HEAD_EL(struct domain_tree);
|
|
|
|
struct option *tree;
|
|
|
|
int len;
|
|
|
|
char name[1]; /* Must be at end of struct. */
|
|
};
|
|
|
|
extern LIST_OF(struct domain_tree) domain_trees;
|
|
|
|
struct option *get_domain_tree(char *);
|
|
|
|
struct option *get_domain_option_from_session(const char *,
|
|
struct session *);
|
|
|
|
void done_domain_trees(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|