ELinks 0.18.0
doc.h File Reference
#include <dom/dom.h>
#include "terminal/kbd.h"
Include dependency graph for doc.h:
This graph shows which files directly or indirectly include this file:

Functions

void * document_parse_text (const char *charset, const char *data, size_t length)
void * document_parse (struct document *document, struct string *source)
void free_document (void *doc)
void * el_match_selector (const char *selector, void *node)
void add_lowercase_to_string (struct string *buf, const char *str, int len)
bool convert_key_to_dom_string (term_event_key_T key, dom_string **res)
unicode_val_T convert_dom_string_to_keycode (dom_string *dom_key)
void keybstrings_init (void)
void keybstrings_fini (void)
void js_html_document_user_data_handler (dom_node_operation operation, dom_string *key, void *data, struct dom_node *src, struct dom_node *dst)

Function Documentation

◆ add_lowercase_to_string()

void add_lowercase_to_string ( struct string * buf,
const char * str,
int len )

◆ convert_dom_string_to_keycode()

unicode_val_T convert_dom_string_to_keycode ( dom_string * dom_key)

◆ convert_key_to_dom_string()

bool convert_key_to_dom_string ( term_event_key_T key,
dom_string ** res )

◆ document_parse()

void * document_parse ( struct document * document,
struct string * source )

◆ document_parse_text()

void * document_parse_text ( const char * charset,
const char * data,
size_t length )

◆ el_match_selector()

void * el_match_selector ( const char * selector,
void * node )
Todo
Change nsoption font sizes to px.

f_size = FDIV(FMUL(F_96, FDIV(INTTOFIX(nsoption_int(font_size)), F_10)), F_72); f_min = FDIV(FMUL(F_96, FDIV(INTTOFIX(nsoption_int(font_min_size)), F_10)), F_72);

◆ free_document()

void free_document ( void * doc)

◆ js_html_document_user_data_handler()

void js_html_document_user_data_handler ( dom_node_operation operation,
dom_string * key,
void * data,
struct dom_node * src,
struct dom_node * dst )

◆ keybstrings_fini()

void keybstrings_fini ( void )

◆ keybstrings_init()

void keybstrings_init ( void )