|
ELinks 0.18.0
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "elinks.h"#include "dom/configuration.h"#include "dom/node.h"#include "dom/sgml/dump.h"#include "dom/sgml/parser.h"#include "dom/stack.h"#include "util/test.h"
Macros | |
| #define | get_indent_offset(stack) (((stack)->depth < sizeof(indent_string)/2 ? (stack)->depth * 2 : sizeof(indent_string)) - 2) |
Functions | |
| int | get_ctl_handle () |
| static int | update_number_of_lines (struct dom_stack *stack) |
| static void | print_compressed_string (struct dom_string *string) |
| static void | print_dom_node_value (struct dom_node *node) |
| static void | print_indent (struct dom_stack *stack) |
| static enum dom_code | sgml_parser_test_tree (struct dom_stack *stack, struct dom_node *node, void *data) |
| static enum dom_code | sgml_parser_test_id_leaf (struct dom_stack *stack, struct dom_node *node, void *data) |
| static enum dom_code | sgml_parser_test_leaf (struct dom_stack *stack, struct dom_node *node, void *data) |
| static enum dom_code | sgml_parser_test_branch (struct dom_stack *stack, struct dom_node *node, void *data) |
| static enum dom_code | sgml_parser_test_end (struct dom_stack *stack, struct dom_node *node, void *data) |
| static enum dom_code | sgml_error_function (struct sgml_parser *parser, struct dom_string *string, unsigned int line_number) |
| int | main (int argc, char *argv[]) |
Variables | |
| unsigned int | number_of_lines = 0 |
| static unsigned char | indent_string [] |
| struct dom_stack_context_info | sgml_parser_test_context_info |
| #define get_indent_offset | ( | stack | ) | (((stack)->depth < sizeof(indent_string)/2 ? (stack)->depth * 2 : sizeof(indent_string)) - 2) |
| int get_ctl_handle | ( | void | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| unsigned int number_of_lines = 0 |
| struct dom_stack_context_info sgml_parser_test_context_info |