Explain why the configure script tries to use -rdynamic.
[elinks.git] / src / dom / code.h
blob92de7fc856e0678856042773d234fd67d9c9052b
1 #ifndef EL_DOM_CODE_H
2 #define EL_DOM_CODE_H
4 /* API Doc :: dom-code */
6 /** DOM status/error/exception codes
8 * These enum values are used for return codes throughout the DOM engine.
9 */
10 enum dom_code {
11 /** ELinks specific codes: */
12 DOM_CODE_OK = 0, /*: The sane default. */
13 DOM_CODE_ERR = -1000, /*: Anything by DOM_CODE_OK. */
15 DOM_CODE_INCOMPLETE, /*: The parsing could not be completed */
16 DOM_CODE_FREE_NODE, /*: Discard the node */
18 /** Error codes: */
19 DOM_CODE_ALLOC_ERR, /*: Failed to allocate memory */
20 DOM_CODE_MAX_DEPTH_ERR, /*: Stack max depth reached */
21 DOM_CODE_VALUE_ERR, /*: Bad/unexpected value */
23 /** DOM Level 1 codes: */
24 DOM_CODE_INDEX_SIZE_ERR = 1,
25 DOM_CODE_STRING_SIZE_ERR = 2,
26 DOM_CODE_HIERARCHY_REQUEST_ERR = 3,
27 DOM_CODE_WRONG_DOCUMENT_ERR = 4,
28 DOM_CODE_INVALID_CHARACTER_ERR = 5,
29 DOM_CODE_NO_DATA_ALLOWED_ERR = 6,
30 DOM_CODE_NO_MODIFICATION_ALLOWED_ERR = 7,
31 DOM_CODE_NOT_FOUND_ERR = 8,
32 DOM_CODE_NOT_SUPPORTED_ERR = 9,
33 DOM_CODE_INUSE_ATTRIBUTE_ERR = 10,
35 /** Introduced in DOM Level 2: */
36 DOM_CODE_INVALID_STATE_ERR = 11,
37 DOM_CODE_SYNTAX_ERR = 12,
38 DOM_CODE_INVALID_MODIFICATION_ERR = 13,
39 DOM_CODE_NAMESPACE_ERR = 14,
40 DOM_CODE_INVALID_ACCESS_ERR = 15,
42 /** Introduced in DOM Level 3: */
43 DOM_CODE_VALIDATION_ERR = 16,
44 DOM_CODE_TYPE_MISMATCH_ERR = 17,
47 #endif