libdom
Loading...
Searching...
No Matches
implementation.h
Go to the documentation of this file.
1/*
2 * This file is part of libdom.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef dom_core_implementation_h_
9#define dom_core_implementation_h_
10
11#include <stdbool.h>
12
13#include <dom/core/exceptions.h>
15#include <dom/functypes.h>
16
17struct dom_document;
19
20typedef const char dom_implementation;
21
31
33 const char *feature, const char *version,
34 bool *result);
35
37 const char *qname,
38 const char *public_id, const char *system_id,
39 struct dom_document_type **doctype);
40
42 uint32_t impl_type,
43 const char *namespace, const char *qname,
44 struct dom_document_type *doctype,
46 void *daf_ctx,
47 struct dom_document **doc);
48
50 const char *feature, const char *version,
51 void **object);
52
53#endif
dom_exception
Definition exceptions.h:24
dom_exception dom_implementation_create_document_type(const char *qname, const char *public_id, const char *system_id, struct dom_document_type **doctype)
Definition implementation.c:60
const char dom_implementation
Definition implementation.h:20
dom_implementation_type
Definition implementation.h:22
@ DOM_IMPLEMENTATION_CORE
Definition implementation.h:23
@ DOM_IMPLEMENTATION_ALL
Definition implementation.h:27
@ DOM_IMPLEMENTATION_XML
Definition implementation.h:24
@ DOM_IMPLEMENTATION_HTML
Definition implementation.h:25
dom_exception dom_implementation_get_feature(const char *feature, const char *version, void **object)
Definition implementation.c:286
dom_exception dom_implementation_create_document(uint32_t impl_type, const char *namespace, const char *qname, struct dom_document_type *doctype, dom_events_default_action_fetcher daf, void *daf_ctx, struct dom_document **doc)
Definition implementation.c:153
dom_exception dom_implementation_has_feature(const char *feature, const char *version, bool *result)
Definition implementation.c:30
dom_default_action_callback(* dom_events_default_action_fetcher)(dom_string *type, dom_default_action_phase phase, void **pw)
Definition document_event.h:83
Definition document_type.c:23
dom_string * public_id
Definition document_type.c:26
dom_string * system_id
Definition document_type.c:27
Definition document.h:43