1 #ifndef EL__SESSION_TASK_H
2 #define EL__SESSION_TASK_H
4 #include "cache/cache.h"
5 #include "session/session.h"
13 /* This is for map_selected(), it is used to pass around information about
14 * in-imagemap links. */
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
);