ELinks 0.18.0
|
#include "document/options.h"
#include "intl/charsets.h"
#include "main/object.h"
#include "main/timer.h"
#include "protocol/uri.h"
#include "util/color.h"
#include "util/lists.h"
#include "util/box.h"
Data Structures | |
struct | node |
Nodes are used for marking areas of text on the document canvas as searchable. More... | |
struct | sixel |
struct | line |
The document line consisting of the chars ready to be copied to the terminal screen. More... | |
struct | point |
struct | tag |
struct | script_event_hook |
struct | link |
struct | search |
A searchable character on the document canvas. More... | |
struct | document |
Macros | |
#define | get_link_index(document, link) |
#define | link_is_textinput(link) |
#define | link_is_form(link) |
#define | get_link_form_control(link) |
#define | get_link_name(link) |
#define | document_has_frames(document_) |
#define | document_has_iframes(document_) |
#define | accesskey_string_to_unicode(s) |
Enumerations | |
enum | cp_status { CP_STATUS_NONE , CP_STATUS_SERVER , CP_STATUS_ASSUMED , CP_STATUS_IGNORED } |
Codepage status. More... | |
enum | clipboard_status { CLIPBOARD_NONE , CLIPBOARD_FIRST_POINT , CLIPBOARD_SECOND_POINT } |
Clipboard state. More... | |
enum | link_type { LINK_HYPERTEXT , LINK_MAP , LINK_BUTTON , LINK_CHECKBOX , LINK_SELECT , LINK_FIELD , LINK_AREA } |
enum | script_event_hook_type { SEVHOOK_ONCLICK , SEVHOOK_ONDBLCLICK , SEVHOOK_ONMOUSEOVER , SEVHOOK_ONHOVER , SEVHOOK_ONFOCUS , SEVHOOK_ONMOUSEOUT , SEVHOOK_ONBLUR , SEVHOOK_ONKEYDOWN , SEVHOOK_ONKEYUP , SEVHOOK_ONKEYPRESS , SEVHOOK_ONKEYPRESS_BODY } |
Functions | |
void | done_link_members (struct link *link) |
Free's the allocated members of the link. | |
unsigned long | get_document_css_magic (struct document *document) |
Calculates css magic from available CSS imports. | |
void | update_cached_document_options (struct session *ses) |
struct document * | get_cached_document (struct cache_entry *cached, struct document_options *options) |
void | reset_document (struct document *document) |
int | get_format_cache_size (void) |
int | get_format_cache_used_count (void) |
int | get_format_cache_refresh_count (void) |
void | shrink_format_cache (int) |
int | get_link_number_by_offset (struct document *document, int offset) |
int | find_tag (struct document *document, char *name, int namelen) |
Variables | |
const char * | script_event_hook_name [] |
struct module | document_module |
#define accesskey_string_to_unicode | ( | s | ) |
#define document_has_frames | ( | document_ | ) |
#define document_has_iframes | ( | document_ | ) |
#define get_link_form_control | ( | link | ) |
#define get_link_name | ( | link | ) |
#define link_is_form | ( | link | ) |
#define link_is_textinput | ( | link | ) |
enum clipboard_status |
enum cp_status |
enum link_type |
void done_link_members | ( | struct link * | link | ) |
Free's the allocated members of the link.
int find_tag | ( | struct document * | document, |
char * | name, | ||
int | namelen ) |
struct document * get_cached_document | ( | struct cache_entry * | cached, |
struct document_options * | options ) |
unsigned long get_document_css_magic | ( | struct document * | document | ) |
Calculates css magic from available CSS imports.
Used for determining validity of formatted documents in the cache.
int get_format_cache_refresh_count | ( | void | ) |
int get_format_cache_size | ( | void | ) |
int get_format_cache_used_count | ( | void | ) |
int get_link_number_by_offset | ( | struct document * | document, |
int | offset ) |
void reset_document | ( | struct document * | document | ) |
assertm(!is_object_used(document), "Attempt to free locked formatted data."); if_assert_failed return;
if (document->uri) { done_uri(document->uri); document->uri = NULL; } if (document->querydns) { kill_dns_request(&document->querydns); document->querydns = NULL; } mem_free_set(&document->ip, NULL); mem_free_set(&document->title, NULL); if (document->frame_desc) { free_frameset_desc(document->frame_desc); document->frame_desc = NULL; } if (document->refresh) { done_document_refresh(document->refresh); document->refresh = NULL; }
done_document_options(&document->options);
void shrink_format_cache | ( | int | whole | ) |
void update_cached_document_options | ( | struct session * | ses | ) |
|
extern |
|
extern |