Hubbub $Id$
errors.h
Go to the documentation of this file.
1/*
2 * This file is part of Hubbub.
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 hubbub_errors_h_
9#define hubbub_errors_h_
10
11#ifdef __cplusplus
12extern "C"
13{
14#endif
15
16#include <stddef.h>
17
18typedef enum hubbub_error {
30
33
34/* Convert a hubbub error value to a string */
35const char *hubbub_error_to_string(hubbub_error error);
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif
42
const char * hubbub_error_to_string(hubbub_error error)
Convert a hubbub error code to a string.
Definition: errors.c:18
hubbub_error
Definition: errors.h:18
@ HUBBUB_PAUSED
tokenisation is paused
Definition: errors.h:22
@ HUBBUB_FILENOTFOUND
Definition: errors.h:27
@ HUBBUB_REPROCESS
Definition: errors.h:20
@ HUBBUB_NEEDDATA
Definition: errors.h:28
@ HUBBUB_BADENCODING
Definition: errors.h:29
@ HUBBUB_BADPARM
Definition: errors.h:25
@ HUBBUB_ENCODINGCHANGE
Definition: errors.h:21
@ HUBBUB_NOMEM
Definition: errors.h:24
@ HUBBUB_UNKNOWN
Definition: errors.h:31
@ HUBBUB_INVALID
Definition: errors.h:26
@ HUBBUB_OK
No error.
Definition: errors.h:19