/* file generated by oo2c -- do not edit */
#ifndef _MODULE_LocText_
#define _MODULE_LocText_

#define LocText__noError NULL
#define LocText__expectingEOL -100
#define LocText__expectingString -101
#define LocText__expectingName -102
#define LocText__wrongEndName -103
#define LocText__expectingEnd -104
#define LocText__expectingSecItemCom -105
#define LocText__catalogNotFound -106
#define LocText__masterNotFound -107
#define LocText__expectingCatalog -108
#define LocText__expectingSysLocale -109
#define LocText__expectingLocaleCom -110
#define LocText__masterIsEmpty -111
#define LocText__sectionNotFound -112
#define LocText__catalogIsEmpty -113
#define LocText__duplicateEntry -114
#include "Msg.h"
#include "TextRider.h"
typedef struct LocText__ErrDesc {
  Msg__Msg err;
  int pos;
  TextRider__String fname;
} LocText__ErrDesc;
typedef unsigned char LocText__Ident[30];
typedef struct LocText__NodeDesc {
  LocText__Ident ident;
  char _30pad, _31pad;
  struct LocText__NodeDesc* next;
} LocText__NodeDesc;
typedef struct LocText__NodeDesc* LocText__Node;
typedef struct LocText__SectionDesc {
  LocText__Ident ident;
  char _30pad, _31pad;
  LocText__Node next;
  LocText__Node list;
} LocText__SectionDesc;
typedef struct LocText__SectionDesc* LocText__Section;
typedef unsigned char* LocText__String;
typedef struct LocText__Locale {
  LocText__String locale;
  LocText__String catalog;
  LocText__String syslocale;
  LocText__Section include;
} LocText__Locale;
extern LocText__Section LocText__dbase;
extern void LocText__ErrorDescr(const LocText__ErrDesc *err__ref, unsigned char* descr, int descr_0d);
extern unsigned char LocText__IsError(const unsigned char* str__ref, int str_0d);
typedef struct LocText_0 {
  LocText__Locale* loc;
  LocText__String dir;
  LocText__String path;
} LocText_0;
typedef struct LocText_0* LocText__Locales;
extern void LocText__SetLocale(LocText__Locales locList, const unsigned char* locName__ref, int locName_0d, LocText__ErrDesc *err, _Type err__tag);
extern void LocText__ReadLocales(const unsigned char* file__ref, int file_0d, LocText__Locales *locList, LocText__ErrDesc *err, _Type err__tag);
#define _TBP_LocText__SectionDesc_MakeErrorStr void(*)(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, unsigned char* errStr, int errStr_0d)
#define _TBN_LocText__SectionDesc_MakeErrorStr 2
extern void LocText__SectionDesc_MakeErrorStr(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, unsigned char* errStr, int errStr_0d);
#define _TBP_LocText__SectionDesc_MakeErrorIndex void(*)(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, int index, unsigned char* errStr, int errStr_0d)
#define _TBN_LocText__SectionDesc_MakeErrorIndex 3
extern void LocText__SectionDesc_MakeErrorIndex(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, int index, unsigned char* errStr, int errStr_0d);
#define _TBP_LocText__SectionDesc_Find LocText__Node(*)(LocText__Section sec, const unsigned char* id__ref, int id_0d)
#define _TBN_LocText__SectionDesc_Find 4
extern LocText__Node LocText__SectionDesc_Find(LocText__Section sec, const unsigned char* id__ref, int id_0d);
#define _TBP_LocText__SectionDesc_GetSelector void(*)(LocText__Section sec, unsigned char* selector, int selector_0d)
#define _TBN_LocText__SectionDesc_GetSelector 1
extern void LocText__SectionDesc_GetSelector(LocText__Section sec, unsigned char* selector, int selector_0d);
#define _TBP_LocText__SectionDesc_Get void(*)(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, unsigned char* str, int str_0d)
#define _TBN_LocText__SectionDesc_Get 0
extern void LocText__SectionDesc_Get(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, unsigned char* str, int str_0d);
#define _TBP_LocText__SectionDesc_GetElement void(*)(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, int index, unsigned char* str, int str_0d)
#define _TBN_LocText__SectionDesc_GetElement 5
extern void LocText__SectionDesc_GetElement(LocText__Section sec, const unsigned char* selector__ref, int selector_0d, int index, unsigned char* str, int str_0d);
#define _TBP_LocText__SectionDesc_GetSection LocText__Section(*)(LocText__Section sec, const unsigned char* selector__ref, int selector_0d)
#define _TBN_LocText__SectionDesc_GetSection 6
extern LocText__Section LocText__SectionDesc_GetSection(LocText__Section sec, const unsigned char* selector__ref, int selector_0d);
#define _TBP_LocText__SectionDesc_AddSection void(*)(LocText__Section sec, LocText__Node value, LocText__ErrDesc *err, _Type err__tag)
#define _TBN_LocText__SectionDesc_AddSection 7
extern void LocText__SectionDesc_AddSection(LocText__Section sec, LocText__Node value, LocText__ErrDesc *err, _Type err__tag);
#define _TBP_LocText__SectionDesc_AddItem void(*)(LocText__Section sec, const unsigned char* id__ref, int id_0d, const unsigned char* value__ref, int value_0d, LocText__ErrDesc *err, _Type err__tag)
#define _TBN_LocText__SectionDesc_AddItem 8
extern void LocText__SectionDesc_AddItem(LocText__Section sec, const unsigned char* id__ref, int id_0d, const unsigned char* value__ref, int value_0d, LocText__ErrDesc *err, _Type err__tag);
extern struct _TD LocText__ErrDesc_td;
extern struct _TD LocText__NodeDesc_td;
extern struct _TD LocText__SectionDesc_td;
extern struct _TD LocText__ItemDesc_td;
extern struct _TD LocText__Locale_td;
extern struct _TD LocText_0_td;
extern struct _TD LocText__ErrorContextDesc_td;
extern struct _TD LocText__ReadLocales_ptrDesc_td;
extern void LocText_init(void);

#endif
