Simplify URI string grapping; make dir listing more like FTP; use READ_SIZE
[elinks.git] / src / session / task.h
blobe1a7c9a8ffbeda6d13e489aff1819f660cb39933
1 #ifndef EL__SESSION_TASK_H
2 #define EL__SESSION_TASK_H
4 #include "cache/cache.h"
5 #include "session/session.h"
7 struct download;
8 struct location;
9 struct terminal;
10 struct view_state;
11 struct uri;
13 /* This is for map_selected(), it is used to pass around information about
14 * in-imagemap links. */
15 struct link_def {
16 unsigned char *link;
17 unsigned char *target;
20 void abort_preloading(struct session *, int);
22 void ses_goto(struct session *, struct uri *, unsigned char *,
23 struct location *, enum cache_mode, enum task_type, int);
24 struct view_state *ses_forward(struct session *, int);
26 struct uri *get_hooked_uri(unsigned char *uristring, struct session *ses, unsigned char *cwd);
28 void goto_uri(struct session *ses, struct uri *uri);
29 void goto_uri_frame(struct session *, struct uri *, unsigned char *, enum cache_mode);
30 void goto_url(struct session *, unsigned char *);
31 void goto_url_with_hook(struct session *, unsigned char *);
32 int goto_url_home(struct session *ses);
33 void goto_imgmap(struct session *, struct uri *, unsigned char *);
34 void map_selected(struct terminal *term, void *ld, void *ses);
36 #endif