ELinks 0.16.1.1
internal.h File Reference
Include dependency graph for internal.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  html_context

Macros

#define html_top   ((struct html_element *) html_context->stack.next)
#define html_bottom   ((struct html_element *) html_context->stack.prev)
#define elformat   (html_top->attr)
#define par_elformat   (html_top->parattr)
#define html_is_preformatted()
#define get_html_max_width()

Enumerations

enum  html_whitespace_state { HTML_SPACE_SUPPRESS , HTML_SPACE_NORMAL , HTML_SPACE_ADD }

Functions

void process_head (struct html_context *html_context, char *head)
void put_chrs (struct html_context *html_context, const char *start, int len)
void html_focusable (struct html_context *html_context, char *a)
void html_skip (struct html_context *html_context, char *a)
char * get_target (struct document_options *options, char *a)
void import_css_stylesheet (struct css_stylesheet *css, struct uri *base_uri, const char *unterminated_url, int len)

Macro Definition Documentation

◆ elformat

#define elformat   (html_top->attr)

◆ get_html_max_width

#define get_html_max_width ( )
Value:
int_max(par_elformat.width - (par_elformat.leftmargin + par_elformat.rightmargin), 0)
#define par_elformat
Definition internal.h:143
static int int_max(int x, int y)
Definition math.h:37

◆ html_bottom

#define html_bottom   ((struct html_element *) html_context->stack.prev)

◆ html_is_preformatted

#define html_is_preformatted ( )
Value:
(elformat.style.attr & AT_PREFORMATTED)
@ AT_PREFORMATTED
Definition format.h:20
#define elformat
Definition internal.h:142

◆ html_top

#define html_top   ((struct html_element *) html_context->stack.next)

◆ par_elformat

#define par_elformat   (html_top->parattr)

Enumeration Type Documentation

◆ html_whitespace_state

Enumerator
HTML_SPACE_SUPPRESS 
HTML_SPACE_NORMAL 
HTML_SPACE_ADD 

Function Documentation

◆ get_target()

char * get_target ( struct document_options * options,
char * a )

◆ html_focusable()

void html_focusable ( struct html_context * html_context,
char * a )

◆ html_skip()

void html_skip ( struct html_context * html_context,
char * a )

◆ import_css_stylesheet()

void import_css_stylesheet ( struct css_stylesheet * css,
struct uri * base_uri,
const char * unterminated_url,
int len )

◆ process_head()

void process_head ( struct html_context * html_context,
char * head )

◆ put_chrs()

void put_chrs ( struct html_context * html_context,
const char * start,
int len )