ELinks 0.16.1.1
|
#include "bfu/dialog.h"
#include "cache/cache.h"
#include "main/timer.h"
#include "network/state.h"
#include "session/download.h"
#include "session/history.h"
#include "util/lists.h"
#include "viewer/text/vs.h"
Data Structures | |
struct | delayed_open |
Used by delayed_open() and delayed_goto_uri_frame(). More... | |
struct | delayed_rel |
struct | frame |
This is generic frame descriptor, meaningful mainly for ses_*_frame*(). More... | |
struct | iframe |
struct | kbdprefix |
Use for keyboard prefixes. More... | |
struct | session_task |
struct | session_status |
struct | session |
This is one of the building stones of ELinks architecture — this structure carries information about the specific ELinks session. More... |
Macros | |
#define | cur_loc(x) |
This returns a pointer to the current location inside of the given session. |
Typedefs | |
typedef unsigned int | remote_session_flags_T |
Enumerations | |
enum | remote_session_flags { SES_REMOTE_NEW_TAB = 1 , SES_REMOTE_NEW_WINDOW = 2 , SES_REMOTE_CURRENT_TAB = 4 , SES_REMOTE_PROMPT_URL = 8 , SES_REMOTE_PING = 16 , SES_REMOTE_ADD_BOOKMARK = 32 , SES_REMOTE_INFO_BOX = 64 , SES_REMOTE_RELOAD = 128 , SES_REMOTE_SEARCH = 256 } |
enum | kp_mark { KP_MARK_NOTHING , KP_MARK_SET , KP_MARK_GOTO } |
enum | task_type { TASK_NONE , TASK_FORWARD , TASK_IMGMAP , TASK_RELOAD , TASK_HISTORY } |
This describes, what are we trying to do right now. More... | |
enum | insert_mode { INSERT_MODE_LESS , INSERT_MODE_ON , INSERT_MODE_OFF } |
enum | navigate_mode { NAVIGATE_LINKWISE , NAVIGATE_CURSOR_ROUTING } |
Functions | |
void | print_error_dialog (struct session *ses, struct connection_state state, struct uri *uri, connection_priority_T priority) |
void | process_file_requests (struct session *) |
struct string * | encode_session_info (struct string *info, struct string_list_item list *url_list) |
int | decode_session_info (struct terminal *term, struct terminal_info *info) |
int | add_session_info (struct session *ses, struct uri *uri, struct uri *referrer, cache_mode_T cache_mode, enum task_type task) |
Registers a base session and returns its id. | |
void | done_saved_session_info (void) |
struct session * | init_session (struct session *ses, struct terminal *term, struct uri *uri, int in_background) |
void | doc_loading_callback (struct download *, struct session *) |
void | abort_loading (struct session *, int) |
void | reload_frame (struct session *, char *, cache_mode_T) |
void | reload (struct session *, cache_mode_T) |
void | load_frames (struct session *, struct document_view *) |
struct frame * | ses_find_frame (struct session *, const char *) |
struct frame * | ses_find_iframe (struct session *, char *) |
void | free_files (struct session *) |
void | display_timer (struct session *ses) |
struct download * | get_current_download (struct session *ses) |
char * | get_current_url (struct session *, char *, size_t) |
Information about the current document. | |
char * | get_current_title (struct session *, char *, size_t) |
struct link * | get_current_session_link (struct session *ses) |
struct link * | get_current_link_in_view (struct document_view *doc_view) |
char * | get_current_link_url (struct session *, char *, size_t) |
char * | get_current_link_name (struct session *, char *, size_t) |
void | add_questions_entry (void(*callback)(struct session *, void *), void *data) |
void | check_questions_queue (struct session *ses) |
char * | get_homepage_url (void) |
int | eat_kbd_repeat_count (struct session *ses) |
Returns current keyboard repeat count and reset it. | |
int | set_kbd_repeat_count (struct session *ses, int new_count) |
Set current keyboard repeat count to given value and update link highlighting and status bar. | |
char * | get_ui_clipboard_file (void) |
void | doc_rerender_after_document_update (struct session *ses) |
Variables | |
struct session list | sessions |
remote_session_flags_T | remote_session_flags |
struct questions_entry list | questions_queue |
#define cur_loc | ( | x | ) |
This returns a pointer to the current location inside of the given session.
That's nice for encapsulation and already paid out once ;-).
typedef unsigned int remote_session_flags_T |
enum insert_mode |
enum kp_mark |
enum navigate_mode |
enum remote_session_flags |
enum task_type |
void abort_loading | ( | struct session * | , |
int | ) |
void add_questions_entry | ( | void(* | callback )(struct session *, void *), |
void * | data ) |
int add_session_info | ( | struct session * | ses, |
struct uri * | uri, | ||
struct uri * | referrer, | ||
cache_mode_T | cache_mode, | ||
enum task_type | task ) |
Registers a base session and returns its id.
Value <= 0 means error.
void check_questions_queue | ( | struct session * | ses | ) |
int decode_session_info | ( | struct terminal * | term, |
struct terminal_info * | info ) |
void display_timer | ( | struct session * | ses | ) |
void doc_rerender_after_document_update | ( | struct session * | ses | ) |
void done_saved_session_info | ( | void | ) |
int eat_kbd_repeat_count | ( | struct session * | ses | ) |
Returns current keyboard repeat count and reset it.
struct string * encode_session_info | ( | struct string * | info, |
struct string_list_item list * | url_list ) |
void free_files | ( | struct session * | ) |
struct link * get_current_link_in_view | ( | struct document_view * | doc_view | ) |
char * get_current_link_name | ( | struct session * | , |
char * | , | ||
size_t | ) |
char * get_current_link_url | ( | struct session * | , |
char * | , | ||
size_t | ) |
char * get_current_title | ( | struct session * | , |
char * | , | ||
size_t | ) |
char * get_current_url | ( | struct session * | , |
char * | , | ||
size_t | ) |
Information about the current document.
char * get_homepage_url | ( | void | ) |
char * get_ui_clipboard_file | ( | void | ) |
struct session * init_session | ( | struct session * | ses, |
struct terminal * | term, | ||
struct uri * | uri, | ||
int | in_background ) |
void load_frames | ( | struct session * | , |
struct document_view * | ) |
void print_error_dialog | ( | struct session * | ses, |
struct connection_state | state, | ||
struct uri * | uri, | ||
connection_priority_T | priority ) |
void process_file_requests | ( | struct session * | ) |
void reload | ( | struct session * | , |
cache_mode_T | ) |
void reload_frame | ( | struct session * | , |
char * | , | ||
cache_mode_T | ) |
int set_kbd_repeat_count | ( | struct session * | ses, |
int | new_count ) |
Set current keyboard repeat count to given value and update link highlighting and status bar.
|
extern |