4 copyright Copyright (c) 2005-2007 codesets.library Open Source Team
5 libbasetype struct LibraryHeader
9 #include <libraries/codesets.h>
11 struct codeset * CodesetsSetDefault(STRPTR name, Tag attrs, ...);
12 void CodesetsFree(APTR obj, Tag attrs, ...);
13 STRPTR * CodesetsSupported(Tag attrs, ...);
14 struct codeset * CodesetsFind(STRPTR name, Tag attrs, ...);
15 struct codeset * CodesetsFindBest(Tag attrs, ...);
16 STRPTR CodesetsUTF8ToStr(Tag attrs, ...);
17 UTF8 * CodesetsUTF8Create(Tag attrs, ...);
18 ULONG CodesetsEncodeB64(Tag attrs, ...);
19 ULONG CodesetsDecodeB64(Tag attrs, ...);
20 ULONG CodesetsStrLen(STRPTR str, Tag attrs, ...);
21 void CodesetsFreeVecPooled(APTR pool, APTR mem, Tag attrs, ...);
22 STRPTR CodesetsConvertStr(Tag attrs, ...);
23 struct codesetList * CodesetsListCreate(Tag attrs, ...);
24 BOOL CodesetsListDelete(Tag tag1, ...);
25 BOOL CodesetsListAdd(struct codesetList *codesetsList, Tag attrs, ...);
26 BOOL CodesetsListRemove(Tag tag1, ...);
30 #include <exec/exec.h>
31 #include <libraries/codesets.h>
36 ULONG CodesetsConvertUTF32toUTF16(const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, ULONG flags) (A0,A1,A2,A3,D0)
37 ULONG CodesetsConvertUTF16toUTF32(const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ULONG flags) (A0,A1,A2,A3,D0)
38 ULONG CodesetsConvertUTF16toUTF8(const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, ULONG flags) (A0,A1,A2,A3,D0)
39 BOOL CodesetsIsLegalUTF8(const UTF8 *source, ULONG length) (A0,D0)
40 BOOL CodesetsIsLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) (A0,D1)
41 ULONG CodesetsConvertUTF8toUTF16(const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, ULONG flags) (A0,A1,A2,A3,D0)
42 ULONG CodesetsConvertUTF32toUTF8(const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, ULONG flags) (A0,A1,A2,A3,D0)
43 ULONG CodesetsConvertUTF8toUTF32(const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ULONG flags) (A0,A1,A2,A3,D0)
44 struct codeset * CodesetsSetDefaultA(STRPTR name, struct TagItem * attrs) (A0,A1)
45 void CodesetsFreeA(APTR obj, struct TagItem * attrs) (A0,A1)
46 STRPTR * CodesetsSupportedA(struct TagItem * attrs) (A0)
47 struct codeset * CodesetsFindA(STRPTR name, struct TagItem * attrs) (A0,A1)
48 struct codeset * CodesetsFindBestA(struct TagItem * attrs) (A0)
49 ULONG CodesetsUTF8Len(const UTF8 *str) (A0)
50 STRPTR CodesetsUTF8ToStrA(struct TagItem * attrs) (A0)
51 UTF8 * CodesetsUTF8CreateA(struct TagItem * attrs) (A0)
52 ULONG CodesetsEncodeB64A(struct TagItem * attrs) (A0)
53 ULONG CodesetsDecodeB64A(struct TagItem * attrs) (A0)
54 ULONG CodesetsStrLenA(STRPTR str, struct TagItem * attrs) (A0,A1)
55 BOOL CodesetsIsValidUTF8(STRPTR str) (A0)
56 void CodesetsFreeVecPooledA(APTR pool, APTR mem, struct TagItem *attrs) (A0,A1,A2)
57 STRPTR CodesetsConvertStrA(struct TagItem * attrs) (A0)
58 struct codesetList * CodesetsListCreateA(struct TagItem *attrs) (A0)
59 BOOL CodesetsListDeleteA(struct TagItem *attrs) (A0)
60 BOOL CodesetsListAddA(struct codesetList *codesetsList, struct TagItem *attrs) (A0,A1)
61 BOOL CodesetsListRemoveA(struct TagItem *attrs) (A0)