summaryrefslogtreecommitdiff
path: root/include/hubbub/hubbub.h
blob: d6ddc01b01ee93209c4f312bb8c53eb0acfd57ab (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 Hubbub.
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
 */

#ifndef hubbub_h_
#define hubbub_h_

#ifdef __cplusplus
extern "C"
{
#endif

#include <hubbub/errors.h>
#include <hubbub/functypes.h>
#include <hubbub/types.h>

/* Initialise the Hubbub library for use */
hubbub_error hubbub_initialise(const char *aliases_file,
		hubbub_allocator_fn alloc, void *pw);

/* Clean up after Hubbub */
hubbub_error hubbub_finalise(hubbub_allocator_fn alloc, void *pw);

#ifdef __cplusplus
}
#endif

#endif