#ifndef INLINE4_CODESETS_H
#define INLINE4_CODESETS_H

/*
** This file was auto generated by idltool 51.8.
**
** It provides compatibility to OS3 style library
** calls by substituting functions.
**
** Do not edit manually.
*/ 

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef EXEC_EXEC_H
#include <exec/exec.h>
#endif
#ifndef EXEC_INTERFACES_H
#include <exec/interfaces.h>
#endif

#ifndef LIBRARIES_CODESETS_H
#include <libraries/codesets.h>
#endif

/* Inline macros for Interface "main" */
#define CodesetsConvertUTF32toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF32toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags) 
#define CodesetsConvertUTF16toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF16toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags) 
#define CodesetsConvertUTF16toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF16toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags) 
#define CodesetsIsLegalUTF8(source, length) ICodesets->CodesetsIsLegalUTF8(source, length) 
#define CodesetsIsLegalUTF8Sequence(source, sourceEnd) ICodesets->CodesetsIsLegalUTF8Sequence(source, sourceEnd) 
#define CodesetsConvertUTF8toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF8toUTF16(sourceStart, sourceEnd, targetStart, targetEnd, flags) 
#define CodesetsConvertUTF32toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF32toUTF8(sourceStart, sourceEnd, targetStart, targetEnd, flags) 
#define CodesetsConvertUTF8toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags) ICodesets->CodesetsConvertUTF8toUTF32(sourceStart, sourceEnd, targetStart, targetEnd, flags) 
#define CodesetsSetDefaultA(name, attrs) ICodesets->CodesetsSetDefaultA(name, attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsSetDefault(...) ICodesets->CodesetsSetDefault(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsSetDefault(vargs...) ICodesets->CodesetsSetDefault(## vargs) 
#endif
#define CodesetsFreeA(obj, attrs) ICodesets->CodesetsFreeA(obj, attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsFree(...) ICodesets->CodesetsFree(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsFree(vargs...) ICodesets->CodesetsFree(## vargs) 
#endif
#define CodesetsSupportedA(attrs) ICodesets->CodesetsSupportedA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsSupported(...) ICodesets->CodesetsSupported(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsSupported(...) ICodesets->CodesetsSupported(## vargs) 
#endif
#define CodesetsFindA(name, attrs) ICodesets->CodesetsFindA(name, attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsFind(...) ICodesets->CodesetsFind(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsFind(vargs...) ICodesets->CodesetsFind(## vargs) 
#endif
#define CodesetsFindBestA(attrs) ICodesets->CodesetsFindBestA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsFindBest(...) ICodesets->CodesetsFindBest(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsFindBest(...) ICodesets->CodesetsFindBest(## vargs) 
#endif
#define CodesetsUTF8Len(str) ICodesets->CodesetsUTF8Len(str) 
#define CodesetsUTF8ToStrA(attrs) ICodesets->CodesetsUTF8ToStrA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsUTF8ToStr(...) ICodesets->CodesetsUTF8ToStr(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsUTF8ToStr(...) ICodesets->CodesetsUTF8ToStr(## vargs) 
#endif
#define CodesetsUTF8CreateA(attrs) ICodesets->CodesetsUTF8CreateA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsUTF8Create(...) ICodesets->CodesetsUTF8Create(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsUTF8Create(...) ICodesets->CodesetsUTF8Create(## vargs) 
#endif
#define CodesetsEncodeB64A(attrs) ICodesets->CodesetsEncodeB64A(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsEncodeB64(...) ICodesets->CodesetsEncodeB64(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsEncodeB64(...) ICodesets->CodesetsEncodeB64(## vargs) 
#endif
#define CodesetsDecodeB64A(attrs) ICodesets->CodesetsDecodeB64A(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsDecodeB64(...) ICodesets->CodesetsDecodeB64(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsDecodeB64(...) ICodesets->CodesetsDecodeB64(## vargs) 
#endif
#define CodesetsStrLenA(str, attrs) ICodesets->CodesetsStrLenA(str, attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsStrLen(...) ICodesets->CodesetsStrLen(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsStrLen(vargs...) ICodesets->CodesetsStrLen(## vargs) 
#endif
#define CodesetsIsValidUTF8(str) ICodesets->CodesetsIsValidUTF8(str) 
#define CodesetsFreeVecPooledA(pool, mem, attrs) ICodesets->CodesetsFreeVecPooledA(pool, mem, attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsFreeVecPooled(pool, ...) ICodesets->CodesetsFreeVecPooled(pool, __VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsFreeVecPooled(pool, vargs...) ICodesets->CodesetsFreeVecPooled(pool, ## vargs) 
#endif
#define CodesetsConvertStrA(attrs) ICodesets->CodesetsConvertStrA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsConvertStr(...) ICodesets->CodesetsConvertStr(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsConvertStr(...) ICodesets->CodesetsConvertStr(## vargs) 
#endif
#define CodesetsListCreateA(attrs) ICodesets->CodesetsListCreateA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsListCreate(...) ICodesets->CodesetsListCreate(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsListCreate(...) ICodesets->CodesetsListCreate(## vargs) 
#endif
#define CodesetsListDeleteA(attrs) ICodesets->CodesetsListDeleteA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsListDelete(...) ICodesets->CodesetsListDelete(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsListDelete(...) ICodesets->CodesetsListDelete(## vargs) 
#endif
#define CodesetsListAddA(codesetsList, attrs) ICodesets->CodesetsListAddA(codesetsList, attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsListAdd(...) ICodesets->CodesetsListAdd(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsListAdd(vargs...) ICodesets->CodesetsListAdd(## vargs) 
#endif
#define CodesetsListRemoveA(attrs) ICodesets->CodesetsListRemoveA(attrs) 
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
#define CodesetsListRemove(...) ICodesets->CodesetsListRemove(__VA_ARGS__) 
#elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define CodesetsListRemove(...) ICodesets->CodesetsListRemove(## vargs) 
#endif

#endif /* INLINE4_CODESETS_H */
