equal
deleted
inserted
replaced
|
1 /* |
|
2 * Summary: error handling |
|
3 * Description: the API used to report errors |
|
4 * |
|
5 * Copy: See Copyright for the status of this software. |
|
6 * |
|
7 * Author: Daniel Veillard |
|
8 * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
9 */ |
|
10 |
|
11 #ifndef LIBXML2_XMLERROR2_H_ |
|
12 |
|
13 #define LIBXML2_XMLERROR2_H_ |
|
14 |
|
15 |
|
16 |
|
17 #include <libxml2_xmlerror.h> |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifdef __cplusplus |
|
24 |
|
25 extern "C" { |
|
26 |
|
27 #endif |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 //#ifdef IN_LIBXML |
|
34 |
|
35 /* |
|
36 |
|
37 * Internal callback reporting routine |
|
38 |
|
39 * @internalComponent |
|
40 |
|
41 * @prototype |
|
42 |
|
43 */ |
|
44 |
|
45 void XMLCALL |
|
46 |
|
47 __xmlRaiseError (xmlStructuredErrorFunc schannel, |
|
48 |
|
49 xmlGenericErrorFunc channel, |
|
50 |
|
51 void *data, |
|
52 |
|
53 void *ctx, |
|
54 |
|
55 void *node, |
|
56 |
|
57 int domain, |
|
58 |
|
59 int code, |
|
60 |
|
61 xmlErrorLevel level, |
|
62 |
|
63 const char *file, |
|
64 |
|
65 int line, |
|
66 |
|
67 const char *str1, |
|
68 |
|
69 const char *str2, |
|
70 |
|
71 const char *str3, |
|
72 |
|
73 int int1, |
|
74 |
|
75 int int2, |
|
76 |
|
77 const char *msg, |
|
78 |
|
79 ...); |
|
80 |
|
81 /* |
|
82 |
|
83 * @internalComponent |
|
84 |
|
85 * @prototype |
|
86 |
|
87 */ |
|
88 |
|
89 void XMLCALL |
|
90 |
|
91 __xmlSimpleError (int domain, |
|
92 |
|
93 int code, |
|
94 |
|
95 xmlNodePtr node, |
|
96 |
|
97 const char *msg, |
|
98 |
|
99 const char *extra); |
|
100 |
|
101 //#endif |
|
102 |
|
103 |
|
104 |
|
105 #ifdef __cplusplus |
|
106 |
|
107 } |
|
108 |
|
109 #endif |
|
110 |
|
111 |
|
112 |
|
113 #endif /*LIBXML2_XMLERROR2_H_*/ |
|
114 |