1#ifndef _MODULE_XML_Error_
2#define _MODULE_XML_Error_
3
4#include <__typemap.h>
5#include <RT0.oh>
6#include <Channel.oh>
7#include <Msg.oh>
8#include <URI.oh>
9#include <RT0.oh>
10#include <Object.oh>
11#include <Exception.oh>
12typedef Msg__Msg XML_Error__Msg;
13typedef OOC_INT32 XML_Error__Code;
14typedef OOC_CHAR8 XML_Error__Char;
15typedef OOC_CHAR16 XML_Error__LChar;
16typedef Msg__String XML_Error__String;
17typedef Msg__StringPtr XML_Error__StringPtr;
18typedef Msg__LString XML_Error__LString;
19typedef Msg__LStringPtr XML_Error__LStringPtr;
20typedef struct XML_Error__MappingDesc *XML_Error__Mapping;
21typedef struct XML_Error__MappingDesc {
22  XML_Error__Mapping next;
23  OOC_INT32 code;
24  OOC_CHAR8 __pad12;
25  OOC_CHAR8 __pad13;
26  OOC_CHAR8 __pad14;
27  OOC_CHAR8 __pad15;
28  Msg__LStringPtr text;
29} XML_Error__MappingDesc;
30typedef struct XML_Error__ContextDesc *XML_Error__Context;
31typedef struct XML_Error__ContextDesc {
32  Msg__StringPtr id;
33  XML_Error__Mapping mapping;
34} XML_Error__ContextDesc;
35typedef struct XML_Error__ListDesc *XML_Error__List;
36typedef struct XML_Error__ListDesc {
37  OOC_INT32 msgCount;
38  OOC_CHAR8 __pad4;
39  OOC_CHAR8 __pad5;
40  OOC_CHAR8 __pad6;
41  OOC_CHAR8 __pad7;
42  Msg__Msg msgList;
43  Msg__Msg lastMsg;
44  URI__HierarchicalURI cwdURI;
45} XML_Error__ListDesc;
46extern OOC_INT32 XML_Error__errMsgLineBase;
47extern OOC_INT32 XML_Error__errMsgColumnBase;
48extern OOC_INT32 XML_Error__errMsgCharPosBase;
49extern void XML_Error__InitContext(XML_Error__Context c, const Msg__String id__ref, OOC_LEN id_0d);
50extern XML_Error__Context XML_Error__NewContext(const Msg__String id__ref, OOC_LEN id_0d);
51extern void XML_Error__ContextDesc_WriteTemplate(XML_Error__Context context, Msg__Msg msg, const Msg__LString msgText__ref, OOC_LEN msgText_0d, Msg__LString templ, OOC_LEN templ_0d);
52#define _TBN_XML_Error__ContextDesc_WriteTemplate 1
53typedef void (*_TBP_XML_Error__ContextDesc_WriteTemplate)(XML_Error__Context context, Msg__Msg msg, const Msg__LString msgText__ref, OOC_LEN msgText_0d, Msg__LString templ, OOC_LEN templ_0d);
54extern void XML_Error__ContextDesc_GetTemplate(XML_Error__Context context, Msg__Msg msg, Msg__LString templ, OOC_LEN templ_0d);
55#define _TBN_XML_Error__ContextDesc_GetTemplate 0
56typedef void (*_TBP_XML_Error__ContextDesc_GetTemplate)(XML_Error__Context context, Msg__Msg msg, Msg__LString templ, OOC_LEN templ_0d);
57extern void XML_Error__ContextDesc_SetString(XML_Error__Context context, OOC_INT32 code, const Msg__String str__ref, OOC_LEN str_0d);
58#define _TBN_XML_Error__ContextDesc_SetString 2
59typedef void (*_TBP_XML_Error__ContextDesc_SetString)(XML_Error__Context context, OOC_INT32 code, const Msg__String str__ref, OOC_LEN str_0d);
60extern Msg__Msg XML_Error__New(XML_Error__Context context, OOC_INT32 code);
61extern XML_Error__List XML_Error__NewList(void);
62extern void XML_Error__ListDesc_Write(volatile XML_Error__List errList, volatile Channel__Channel ch);
63#define _TBN_XML_Error__ListDesc_Write 2
64typedef void (*_TBP_XML_Error__ListDesc_Write)(XML_Error__List errList, Channel__Channel ch);
65extern void OOC_XML_Error_init(void);
66extern void OOC_XML_Error_open(RT0__Module client);
67extern void OOC_XML_Error_destroy(void);
68extern void OOC_XML_Error_close(RT0__Module client);
69
70/* run-time meta data */
71extern RT0__StructDesc _td_XML_Error__Mapping;
72extern RT0__StructDesc _td_XML_Error__MappingDesc;
73extern RT0__StructDesc _td_XML_Error__Context;
74extern RT0__StructDesc _td_XML_Error__ContextDesc;
75extern RT0__StructDesc _td_XML_Error__List;
76extern RT0__StructDesc _td_XML_Error__ListDesc;
77extern RT0__StructDesc _td_XML_Error__3911;
78extern RT0__StructDesc _td_XML_Error__5115;
79extern RT0__StructDesc _td_XML_Error__5212;
80extern RT0__StructDesc _td_XML_Error__5299;
81extern RT0__StructDesc _td_XML_Error__5329;
82extern RT0__StructDesc _td_XML_Error__6273;
83#endif /* _MODULE_XML_Error_ */
84
85/* --- */
86