mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[libdom] parse.h
Contains document_parse and document_parse_text.
This commit is contained in:
parent
992ebdee2d
commit
31a89da35c
@ -16,7 +16,7 @@
|
||||
#include "document/libdom/mapa.h"
|
||||
#include "document/plain/renderer.h"
|
||||
#include "document/xml/renderer.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
|
||||
|
||||
static bool
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "document/libdom/corestrings.h"
|
||||
#include "document/libdom/mapa.h"
|
||||
#include "document/xml/renderer2.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
|
||||
|
||||
static bool
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "document/xml/renderer.h"
|
||||
#include "document/xml/renderer2.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
#ifdef CONFIG_MUJS
|
||||
#include "ecmascript/mujs.h"
|
||||
#else
|
||||
|
@ -195,12 +195,9 @@ void check_for_rerender(struct ecmascript_interpreter *interpreter, const char*
|
||||
|
||||
void toggle_ecmascript(struct session *ses);
|
||||
|
||||
void *document_parse(struct document *document);
|
||||
void *document_parse_text(char *text, size_t length);
|
||||
void free_document(void *doc);
|
||||
void location_goto(struct document_view *doc_view, char *url);
|
||||
void location_goto_const(struct document_view *doc_view, const char *url);
|
||||
void el_insert_before(struct document *document, void *element, struct string *source);
|
||||
|
||||
extern char *console_error_filename;
|
||||
extern char *console_log_filename;
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "document/view.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/mujs/mapa.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
#include "ecmascript/mujs.h"
|
||||
#include "ecmascript/mujs/collection.h"
|
||||
#include "ecmascript/mujs/form.h"
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "elinks.h"
|
||||
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
#include "ecmascript/mujs.h"
|
||||
#include "ecmascript/mujs/document.h"
|
||||
#include "ecmascript/mujs/implementation.h"
|
||||
|
19
src/ecmascript/libdom/parse.h
Normal file
19
src/ecmascript/libdom/parse.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef EL__DOCUMENT_ECMASCRIPT_LIBDOM_PARSE_H
|
||||
#define EL__DOCUMENT_ECMASCRIPT_LIBDOM_PARSE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct document;
|
||||
struct string;
|
||||
|
||||
void *document_parse_text(char *data, size_t length);
|
||||
void *document_parse(struct document *document);
|
||||
void el_insert_before(struct document *document, void *element, struct string *source);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
@ -20,6 +20,7 @@
|
||||
#include "document/document.h"
|
||||
#include "document/view.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
#include "ecmascript/libdom/quickjs/mapa.h"
|
||||
#include "ecmascript/quickjs.h"
|
||||
#include "ecmascript/quickjs/collection.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "elinks.h"
|
||||
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
#include "ecmascript/quickjs.h"
|
||||
#include "ecmascript/quickjs/document.h"
|
||||
#include "ecmascript/quickjs/implementation.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "document/view.h"
|
||||
#include "ecmascript/css2xpath.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#include "ecmascript/libdom/parse.h"
|
||||
#include "ecmascript/spidermonkey/collection.h"
|
||||
#include "ecmascript/spidermonkey/form.h"
|
||||
#include "ecmascript/spidermonkey/forms.h"
|
||||
|
Loading…
Reference in New Issue
Block a user