blob: e14738cb002ea48d93a1ceaae9f2b3f91e5fb8a9 (
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
31
32
|
/*
* 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;
/* Initialise the implementation registry */
dom_exception dom_implregistry_initialise(
dom_alloc allocator, void *ptr);
/* Retrieve a DOM implementation from the registry */
dom_exception dom_implregistry_get_dom_implementation(
struct dom_string *features,
struct dom_implementation **impl);
/* 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);
#endif
|