1 #ifndef CODESETS_INTERFACE_DEF_H
2 #define CODESETS_INTERFACE_DEF_H
5 ** This file was machine generated by idltool 51.8.
10 #include <exec/types.h>
13 #include <exec/exec.h>
15 #ifndef EXEC_INTERFACES_H
16 #include <exec/interfaces.h>
19 #ifndef LIBRARIES_CODESETS_H
20 #include <libraries/codesets.h>
25 struct InterfaceData Data
;
27 ULONG
APICALL (*Obtain
)(struct CodesetsIFace
*Self
);
28 ULONG
APICALL (*Release
)(struct CodesetsIFace
*Self
);
29 void APICALL (*Expunge
)(struct CodesetsIFace
*Self
);
30 struct Interface
* APICALL (*Clone
)(struct CodesetsIFace
*Self
);
31 void APICALL (*Reserved1
)(struct CodesetsIFace
*Self
);
32 ULONG
APICALL (*CodesetsConvertUTF32toUTF16
)(struct CodesetsIFace
*Self
, const UTF32
** sourceStart
, const UTF32
* sourceEnd
, UTF16
** targetStart
, UTF16
* targetEnd
, ULONG flags
);
33 ULONG
APICALL (*CodesetsConvertUTF16toUTF32
)(struct CodesetsIFace
*Self
, const UTF16
** sourceStart
, const UTF16
* sourceEnd
, UTF32
** targetStart
, UTF32
* targetEnd
, ULONG flags
);
34 ULONG
APICALL (*CodesetsConvertUTF16toUTF8
)(struct CodesetsIFace
*Self
, const UTF16
** sourceStart
, const UTF16
* sourceEnd
, UTF8
** targetStart
, UTF8
* targetEnd
, ULONG flags
);
35 BOOL
APICALL (*CodesetsIsLegalUTF8
)(struct CodesetsIFace
*Self
, const UTF8
* source
, ULONG length
);
36 BOOL
APICALL (*CodesetsIsLegalUTF8Sequence
)(struct CodesetsIFace
*Self
, const UTF8
* source
, const UTF8
* sourceEnd
);
37 ULONG
APICALL (*CodesetsConvertUTF8toUTF16
)(struct CodesetsIFace
*Self
, const UTF8
** sourceStart
, const UTF8
* sourceEnd
, UTF16
** targetStart
, UTF16
* targetEnd
, ULONG flags
);
38 ULONG
APICALL (*CodesetsConvertUTF32toUTF8
)(struct CodesetsIFace
*Self
, const UTF32
** sourceStart
, const UTF32
* sourceEnd
, UTF8
** targetStart
, UTF8
* targetEnd
, ULONG flags
);
39 ULONG
APICALL (*CodesetsConvertUTF8toUTF32
)(struct CodesetsIFace
*Self
, const UTF8
** sourceStart
, const UTF8
* sourceEnd
, UTF32
** targetStart
, UTF32
* targetEnd
, ULONG flags
);
40 struct codeset
* APICALL (*CodesetsSetDefaultA
)(struct CodesetsIFace
*Self
, STRPTR name
, struct TagItem
* attrs
);
41 struct codeset
* APICALL (*CodesetsSetDefault
)(struct CodesetsIFace
*Self
, STRPTR name
, ...);
42 void APICALL (*CodesetsFreeA
)(struct CodesetsIFace
*Self
, APTR obj
, struct TagItem
* attrs
);
43 void APICALL (*CodesetsFree
)(struct CodesetsIFace
*Self
, APTR obj
, ...);
44 STRPTR
* APICALL (*CodesetsSupportedA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
45 STRPTR
* APICALL (*CodesetsSupported
)(struct CodesetsIFace
*Self
, ...);
46 struct codeset
* APICALL (*CodesetsFindA
)(struct CodesetsIFace
*Self
, STRPTR name
, struct TagItem
* attrs
);
47 struct codeset
* APICALL (*CodesetsFind
)(struct CodesetsIFace
*Self
, STRPTR name
, ...);
48 struct codeset
* APICALL (*CodesetsFindBestA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
49 struct codeset
* APICALL (*CodesetsFindBest
)(struct CodesetsIFace
*Self
, ...);
50 ULONG
APICALL (*CodesetsUTF8Len
)(struct CodesetsIFace
*Self
, const UTF8
* str
);
51 STRPTR
APICALL (*CodesetsUTF8ToStrA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
52 STRPTR
APICALL (*CodesetsUTF8ToStr
)(struct CodesetsIFace
*Self
, ...);
53 UTF8
* APICALL (*CodesetsUTF8CreateA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
54 UTF8
* APICALL (*CodesetsUTF8Create
)(struct CodesetsIFace
*Self
, ...);
55 ULONG
APICALL (*CodesetsEncodeB64A
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
56 ULONG
APICALL (*CodesetsEncodeB64
)(struct CodesetsIFace
*Self
, ...);
57 ULONG
APICALL (*CodesetsDecodeB64A
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
58 ULONG
APICALL (*CodesetsDecodeB64
)(struct CodesetsIFace
*Self
, ...);
59 ULONG
APICALL (*CodesetsStrLenA
)(struct CodesetsIFace
*Self
, STRPTR str
, struct TagItem
* attrs
);
60 ULONG
APICALL (*CodesetsStrLen
)(struct CodesetsIFace
*Self
, STRPTR str
, ...);
61 BOOL
APICALL (*CodesetsIsValidUTF8
)(struct CodesetsIFace
*Self
, STRPTR str
);
62 void APICALL (*CodesetsFreeVecPooledA
)(struct CodesetsIFace
*Self
, APTR pool
, APTR mem
, struct TagItem
* attrs
);
63 void APICALL (*CodesetsFreeVecPooled
)(struct CodesetsIFace
*Self
, APTR pool
, APTR mem
, ...);
64 STRPTR
APICALL (*CodesetsConvertStrA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
65 STRPTR
APICALL (*CodesetsConvertStr
)(struct CodesetsIFace
*Self
, ...);
66 struct codesetList
* APICALL (*CodesetsListCreateA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
67 struct codesetList
* APICALL (*CodesetsListCreate
)(struct CodesetsIFace
*Self
, ...);
68 BOOL
APICALL (*CodesetsListDeleteA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
69 BOOL
APICALL (*CodesetsListDelete
)(struct CodesetsIFace
*Self
, ...);
70 BOOL
APICALL (*CodesetsListAddA
)(struct CodesetsIFace
*Self
, struct codesetList
* codesetsList
, struct TagItem
* attrs
);
71 BOOL
APICALL (*CodesetsListAdd
)(struct CodesetsIFace
*Self
, struct codesetList
* codesetsList
, ...);
72 BOOL
APICALL (*CodesetsListRemoveA
)(struct CodesetsIFace
*Self
, struct TagItem
* attrs
);
73 BOOL
APICALL (*CodesetsListRemove
)(struct CodesetsIFace
*Self
, ...);
76 #endif /* CODESETS_INTERFACE_DEF_H */