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
14 * about in-imagemap links. */
17 unsigned char *target
;
20 void abort_preloading(struct session
*, int);
22 void ses_load(struct session
*ses
, struct uri
*uri
, unsigned char *target_frame
,
23 struct location
*target_location
, enum cache_mode cache_mode
,
24 enum task_type task_type
);
26 void ses_goto(struct session
*, struct uri
*, unsigned char *,
27 struct location
*, enum cache_mode
, enum task_type
, int);
28 struct view_state
*ses_forward(struct session
*, int);
30 struct uri
*get_hooked_uri(unsigned char *uristring
, struct session
*ses
, unsigned char *cwd
);
32 void goto_uri(struct session
*ses
, struct uri
*uri
);
33 void goto_uri_frame(struct session
*, struct uri
*, unsigned char *, enum cache_mode
);
34 void delayed_goto_uri_frame(void *);
35 void goto_url(struct session
*, unsigned char *);
36 void goto_url_with_hook(struct session
*, unsigned char *);
37 int goto_url_home(struct session
*ses
);
38 void goto_imgmap(struct session
*, struct uri
*, unsigned char *);
39 void map_selected(struct terminal
*term
, void *ld
, void *ses
);