ELinks 0.18.0
dump.c File Reference
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "dom/node.h"
#include "dom/sgml/dump.h"
#include "dom/stack.h"
#include "dom/string.h"
Include dependency graph for dump.c:

Functions

static enum dom_code sgml_file_dumper_element_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_element_pop (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_attribute_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_proc_instruction_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_text_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_cdata_section_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_comment_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
static enum dom_code sgml_file_dumper_entity_ref_push (struct dom_stack *stack, struct dom_node *node, void *data)
 
struct dom_stack_contextadd_sgml_file_dumper (struct dom_stack *stack, FILE *file)
 

Variables

struct dom_stack_context_info sgml_file_dumper
 

Function Documentation

◆ add_sgml_file_dumper()

struct dom_stack_context * add_sgml_file_dumper ( struct dom_stack * stack,
FILE * file )

◆ sgml_file_dumper_attribute_push()

static enum dom_code sgml_file_dumper_attribute_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_cdata_section_push()

static enum dom_code sgml_file_dumper_cdata_section_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_comment_push()

static enum dom_code sgml_file_dumper_comment_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_element_pop()

static enum dom_code sgml_file_dumper_element_pop ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_element_push()

static enum dom_code sgml_file_dumper_element_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_entity_ref_push()

static enum dom_code sgml_file_dumper_entity_ref_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_proc_instruction_push()

static enum dom_code sgml_file_dumper_proc_instruction_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

◆ sgml_file_dumper_text_push()

static enum dom_code sgml_file_dumper_text_push ( struct dom_stack * stack,
struct dom_node * node,
void * data )
static

Variable Documentation

◆ sgml_file_dumper

struct dom_stack_context_info sgml_file_dumper