blob: 1e93ea6b6108938fe2f5f81a9bd275475bb3f73b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* This file is part of libdom.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
*/
#ifndef dom_bootstrap_implregistry_h_
#define dom_bootstrap_implregistry_h_
#include <dom/core/exceptions.h>
#include <dom/functypes.h>
struct dom_implementation;
struct dom_implementation_list;
struct dom_string;
/* Retrieve a DOM implementation from the registry */
dom_exception dom_implregistry_get_dom_implementation(
struct dom_string *features,
struct dom_implementation **impl,
dom_alloc alloc, void *pw);
/* Get a list of DOM implementations that support the requested features */
dom_exception dom_implregistry_get_dom_implementation_list(
struct dom_string *features,
struct dom_implementation_list **list,
dom_alloc alloc, void *pw);
#endif
|