|
ELinks 0.19.1
|
#include <errno.h>#include <stdio.h>#include <string.h>#include <sys/types.h>#include "elinks.h"#include "cache/cache.h"#include "config/options.h"#include "document/document.h"#include "document/html/renderer.h"#include "document/options.h"#include "document/renderer.h"#include "document/view.h"#include "intl/charsets.h"#include "intl/libintl.h"#include "main/select.h"#include "main/main.h"#include "mime/mime.h"#include "network/connection.h"#include "network/state.h"#include "osdep/ascii.h"#include "osdep/osdep.h"#include "protocol/protocol.h"#include "protocol/uri.h"#include "session/download.h"#include "session/session.h"#include "terminal/color.h"#include "terminal/hardio.h"#include "terminal/terminal.h"#include "util/memory.h"#include "util/string.h"#include "viewer/dump/dump.h"#include "viewer/text/view.h"#include "viewer/text/vs.h"#include "dump-color-mode.h"
Data Structures | |
| struct | dump_output |
| A place where dumping functions write their output. More... | |
Macros | |
| #define | D_BUF 65536 |
| #define | FRAME_CHARS_BEGIN 0xB0 |
| #define | FRAME_CHARS_END 0xE0 |
| #define | DUMP_COLOR_MODE_16 |
| #define | DUMP_FUNCTION_COLOR dump_16color |
| #define | DUMP_FUNCTION_UTF8 dump_16color_utf8 |
| #define | DUMP_FUNCTION_UNIBYTE dump_16color_unibyte |
| #define | DUMP_COLOR_MODE_NONE |
| #define | DUMP_FUNCTION_COLOR dump_nocolor |
| #define | DUMP_FUNCTION_UTF8 dump_nocolor_utf8 |
| #define | DUMP_FUNCTION_UNIBYTE dump_nocolor_unibyte |
Functions | |
| static void | dump_print (const char *option, const char *url) |
| static int | is_start_of_link (struct document *document, int x, int y, int *current_link_number, struct link **ret) |
| static int | is_end_of_link (struct document *document, int x, int y, int *current_link_number, struct link **ret) |
| static int | write_char (unsigned char c, struct dump_output *out) |
| static void | write_start_of_link (struct link *link, struct dump_output *out) |
| static void | write_end_of_link (struct dump_output *out) |
| static int | write_color_16 (unsigned char color, struct dump_output *out) |
| static int | dump_references (struct document *document, int fd, char buf[D_BUF]) |
| int | dump_to_file (struct document *document, int fd) |
| static void | dump_formatted (int fd, struct download *download, struct cache_entry *cached) |
| static int | dump_source (int fd, struct download *download, struct cache_entry *cached) |
| static char * | subst_url (char *str, const char *url) |
| static void | dump_loading_callback (struct download *download, void *p) |
| static void | dump_start (char *url) |
| void | dump_next (struct string_list_item list *url_list) |
| struct string * | add_document_to_string (struct string *string, struct document *document) |
Variables | |
| static int | dump_pos |
| static struct download | dump_download |
| static int | dump_redir_count = 0 |
| static const unsigned char | frame_simplify [FRAME_CHARS_END - FRAME_CHARS_BEGIN] |
| Mapping from CP437 box-drawing characters to simpler CP437 characters. | |
| #define D_BUF 65536 |
| #define DUMP_COLOR_MODE_16 |
| #define DUMP_COLOR_MODE_NONE |
| #define DUMP_FUNCTION_COLOR dump_nocolor |
| #define DUMP_FUNCTION_COLOR dump_16color |
| #define DUMP_FUNCTION_UNIBYTE dump_nocolor_unibyte |
| #define DUMP_FUNCTION_UNIBYTE dump_16color_unibyte |
| #define DUMP_FUNCTION_UTF8 dump_nocolor_utf8 |
| #define DUMP_FUNCTION_UTF8 dump_16color_utf8 |
| #define FRAME_CHARS_BEGIN 0xB0 |
| #define FRAME_CHARS_END 0xE0 |
|
static |
|
static |
| void dump_next | ( | struct string_list_item list * | url_list | ) |
|
static |
|
static |
|
static |
|
static |
| int dump_to_file | ( | struct document * | document, |
| int | fd ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Mapping from CP437 box-drawing characters to simpler CP437 characters.