1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/session/location.h
Witold Filipczyk a67188413c [lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp
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.
2023-06-19 18:43:53 +02:00

34 lines
602 B
C

#ifndef EL__SESSION_LOCATION_H
#define EL__SESSION_LOCATION_H
#include "session/download.h"
#include "session/session.h"
#include "util/lists.h"
#include "viewer/text/vs.h"
#ifdef __cplusplus
extern "C" {
#endif
struct location {
LIST_HEAD_EL(struct location);
LIST_OF(struct frame) frames;
LIST_OF(struct frame) iframes;
struct download download;
struct view_state vs;
};
void copy_location(struct location *, struct location *);
/** You probably want to call del_from_history() first!
* @relates location */
void destroy_location(struct location *);
#ifdef __cplusplus
}
#endif
#endif