1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE library SYSTEM "library.dtd">
3 <!-- autogenerated by fdtrans v51.17 -->
4 <library name="codesets" basename="CodesetsBase" basetype="Library" openname="codesets.library">
5 <include>libraries/codesets.h</include>
6 <interface name="main" version="1.0" struct="CodesetsIFace" prefix="_Codesets_" asmprefix="ICodesets" global="ICodesets">
7 <method name="Obtain" result="ULONG"/>
8 <method name="Release" result="ULONG"/>
9 <method name="Expunge" result="void" status="unimplemented"/>
10 <method name="Clone" result="struct Interface *" status="unimplemented"/>
11 <method name="Reserved1" result="void" status="unimplemented"/>
12 <method name="CodesetsConvertUTF32toUTF16" result="ULONG">
13 <arg name="sourceStart" type="const UTF32 **"/>
14 <arg name="sourceEnd" type="const UTF32 *"/>
15 <arg name="targetStart" type="UTF16 **"/>
16 <arg name="targetEnd" type="UTF16 *"/>
17 <arg name="flags" type="ULONG"/>
19 <method name="CodesetsConvertUTF16toUTF32" result="ULONG">
20 <arg name="sourceStart" type="const UTF16 **"/>
21 <arg name="sourceEnd" type="const UTF16 *"/>
22 <arg name="targetStart" type="UTF32 **"/>
23 <arg name="targetEnd" type="UTF32 *"/>
24 <arg name="flags" type="ULONG"/>
26 <method name="CodesetsConvertUTF16toUTF8" result="ULONG">
27 <arg name="sourceStart" type="const UTF16 **"/>
28 <arg name="sourceEnd" type="const UTF16 *"/>
29 <arg name="targetStart" type="UTF8 **"/>
30 <arg name="targetEnd" type="UTF8 *"/>
31 <arg name="flags" type="ULONG"/>
33 <method name="CodesetsIsLegalUTF8" result="BOOL">
34 <arg name="source" type="const UTF8 *"/>
35 <arg name="length" type="ULONG"/>
37 <method name="CodesetsIsLegalUTF8Sequence" result="BOOL">
38 <arg name="source" type="const UTF8 *"/>
39 <arg name="sourceEnd" type="const UTF8 *"/>
41 <method name="CodesetsConvertUTF8toUTF16" result="ULONG">
42 <arg name="sourceStart" type="const UTF8 **"/>
43 <arg name="sourceEnd" type="const UTF8 *"/>
44 <arg name="targetStart" type="UTF16 **"/>
45 <arg name="targetEnd" type="UTF16 *"/>
46 <arg name="flags" type="ULONG"/>
48 <method name="CodesetsConvertUTF32toUTF8" result="ULONG">
49 <arg name="sourceStart" type="const UTF32 **"/>
50 <arg name="sourceEnd" type="const UTF32 *"/>
51 <arg name="targetStart" type="UTF8 **"/>
52 <arg name="targetEnd" type="UTF8 *"/>
53 <arg name="flags" type="ULONG"/>
55 <method name="CodesetsConvertUTF8toUTF32" result="ULONG">
56 <arg name="sourceStart" type="const UTF8 **"/>
57 <arg name="sourceEnd" type="const UTF8 *"/>
58 <arg name="targetStart" type="UTF32 **"/>
59 <arg name="targetEnd" type="UTF32 *"/>
60 <arg name="flags" type="ULONG"/>
62 <method name="CodesetsSetDefaultA" result="struct codeset *">
63 <arg name="name" type="STRPTR"/>
64 <arg name="attrs" type="struct TagItem *"/>
66 <method name="CodesetsSetDefault" result="struct codeset *">
67 <arg name="name" type="STRPTR"/>
68 <vararg name="attrs" type="Tag"/>
70 <method name="CodesetsFreeA" result="void">
71 <arg name="obj" type="APTR"/>
72 <arg name="attrs" type="struct TagItem *"/>
74 <method name="CodesetsFree" result="void">
75 <arg name="obj" type="APTR"/>
76 <vararg name="attrs" type="Tag"/>
78 <method name="CodesetsSupportedA" result="STRPTR *">
79 <arg name="attrs" type="struct TagItem *"/>
81 <method name="CodesetsSupported" result="STRPTR *">
82 <vararg name="attrs" type="Tag"/>
84 <method name="CodesetsFindA" result="struct codeset *">
85 <arg name="name" type="STRPTR"/>
86 <arg name="attrs" type="struct TagItem *"/>
88 <method name="CodesetsFind" result="struct codeset *">
89 <arg name="name" type="STRPTR"/>
90 <vararg name="attrs" type="Tag"/>
92 <method name="CodesetsFindBestA" result="struct codeset *">
93 <arg name="attrs" type="struct TagItem *"/>
95 <method name="CodesetsFindBest" result="struct codeset *">
96 <vararg name="attrs" type="Tag"/>
98 <method name="CodesetsUTF8Len" result="ULONG">
99 <arg name="str" type="const UTF8 *"/>
101 <method name="CodesetsUTF8ToStrA" result="STRPTR">
102 <arg name="attrs" type="struct TagItem *"/>
104 <method name="CodesetsUTF8ToStr" result="STRPTR">
105 <vararg name="attrs" type="Tag"/>
107 <method name="CodesetsUTF8CreateA" result="UTF8 *">
108 <arg name="attrs" type="struct TagItem *"/>
110 <method name="CodesetsUTF8Create" result="UTF8 *">
111 <vararg name="attrs" type="Tag"/>
113 <method name="CodesetsEncodeB64A" result="ULONG">
114 <arg name="attrs" type="struct TagItem *"/>
116 <method name="CodesetsEncodeB64" result="ULONG">
117 <vararg name="attrs" type="Tag"/>
119 <method name="CodesetsDecodeB64A" result="ULONG">
120 <arg name="attrs" type="struct TagItem *"/>
122 <method name="CodesetsDecodeB64" result="ULONG">
123 <vararg name="attrs" type="Tag"/>
125 <method name="CodesetsStrLenA" result="ULONG">
126 <arg name="str" type="STRPTR"/>
127 <arg name="attrs" type="struct TagItem *"/>
129 <method name="CodesetsStrLen" result="ULONG">
130 <arg name="str" type="STRPTR"/>
131 <vararg name="attrs" type="Tag"/>
133 <method name="CodesetsIsValidUTF8" result="BOOL">
134 <arg name="str" type="STRPTR"/>
136 <method name="CodesetsFreeVecPooledA" result="void">
137 <arg name="pool" type="APTR"/>
138 <arg name="mem" type="APTR"/>
139 <arg name="attrs" type="struct TagItem *"/>
141 <method name="CodesetsFreeVecPooled" result="void">
142 <arg name="pool" type="APTR"/>
143 <arg name="mem" type="APTR"/>
144 <vararg name="attrs" type="Tag"/>
146 <method name="CodesetsConvertStrA" result="STRPTR">
147 <arg name="attrs" type="struct TagItem *"/>
149 <method name="CodesetsConvertStr" result="STRPTR">
150 <vararg name="attrs" type="Tag"/>
152 <method name="CodesetsListCreateA" result="struct codesetList *">
153 <arg name="attrs" type="struct TagItem *"/>
155 <method name="CodesetsListCreate" result="struct codesetList *">
156 <vararg name="attrs" type="Tag"/>
158 <method name="CodesetsListDeleteA" result="BOOL">
159 <arg name="attrs" type="struct TagItem *"/>
161 <method name="CodesetsListDelete" result="BOOL">
162 <vararg name="tag1" type="Tag"/>
164 <method name="CodesetsListAddA" result="BOOL">
165 <arg name="codesetsList" type="struct codesetList *"/>
166 <arg name="attrs" type="struct TagItem *"/>
168 <method name="CodesetsListAdd" result="BOOL">
169 <arg name="codesetsList" type="struct codesetList *"/>
170 <vararg name="attrs" type="Tag"/>
172 <method name="CodesetsListRemoveA" result="BOOL">
173 <arg name="attrs" type="struct TagItem *"/>
175 <method name="CodesetsListRemove" result="BOOL">
176 <vararg name="tag1" type="Tag"/>