mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-07 04:53:37 -04:00
50 lines
1.3 KiB
C
50 lines
1.3 KiB
C
#ifndef EL__SESSION_TASK_H
|
|
#define EL__SESSION_TASK_H
|
|
|
|
#include "cache/cache.h"
|
|
#include "session/session.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct download;
|
|
struct location;
|
|
struct terminal;
|
|
struct view_state;
|
|
struct uri;
|
|
|
|
/** This is for map_selected(), it is used to pass around information
|
|
* about in-imagemap links. */
|
|
struct link_def {
|
|
char *link;
|
|
char *target;
|
|
};
|
|
|
|
void abort_preloading(struct session *, int);
|
|
|
|
void ses_load(struct session *ses, struct uri *uri, char *target_frame,
|
|
struct location *target_location, cache_mode_T cache_mode,
|
|
enum task_type task_type);
|
|
|
|
void ses_goto(struct session *, struct uri *, char *,
|
|
struct location *, cache_mode_T, enum task_type, int);
|
|
struct view_state *ses_forward(struct session *, int);
|
|
|
|
struct uri *get_hooked_uri(const char *uristring, struct session *ses, char *cwd);
|
|
|
|
void goto_uri(struct session *ses, struct uri *uri);
|
|
void goto_uri_frame(struct session *, struct uri *, char *, cache_mode_T);
|
|
void delayed_goto_uri_frame(void *);
|
|
void goto_url(struct session *, char *);
|
|
void goto_url_with_hook(struct session *, const char *);
|
|
int goto_url_home(struct session *ses);
|
|
void goto_imgmap(struct session *, struct uri *, char *);
|
|
void map_selected(struct terminal *term, void *ld, void *ses);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|