#ifndef CLIB_LOCALE_PROTOS_H #define CLIB_LOCALE_PROTOS_H /* ** $VER: locale_protos.h 38.5 (18.6.1993) ** ** C prototypes. For use with 32 bit integers only. ** ** Copyright © 2001 Amiga, Inc. ** All Rights Reserved */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef EXEC_TYPES_H #include #endif #ifndef LIBRARIES_LOCALE_H #include #endif #ifndef DOS_DOS_H #include #endif #ifndef UTILITY_HOOKS_H #include #endif #ifndef UTILITY_TAGITEM_H #include #endif #ifndef REXX_STORAGE_H #include #endif /*--- functions in V38 or higher (Release 2.1) ---*/ VOID __stdargs CloseCatalog( struct Catalog *catalog ); VOID __stdargs CloseLocale( struct Locale *locale ); ULONG __stdargs ConvToLower( struct Locale *locale, ULONG character ); ULONG __stdargs ConvToUpper( struct Locale *locale, ULONG character ); VOID __stdargs FormatDate( struct Locale *locale, STRPTR fmtTemplate, struct DateStamp *date, struct Hook *putCharFunc ); APTR __stdargs FormatString( struct Locale *locale, STRPTR fmtTemplate, APTR dataStream, struct Hook *putCharFunc ); STRPTR __stdargs GetCatalogStr( struct Catalog *catalog, LONG stringNum, STRPTR defaultString ); STRPTR __stdargs GetLocaleStr( struct Locale *locale, ULONG stringNum ); BOOL __stdargs IsAlNum( struct Locale *locale, ULONG character ); BOOL __stdargs IsAlpha( struct Locale *locale, ULONG character ); BOOL __stdargs IsCntrl( struct Locale *locale, ULONG character ); BOOL __stdargs IsDigit( struct Locale *locale, ULONG character ); BOOL __stdargs IsGraph( struct Locale *locale, ULONG character ); BOOL __stdargs IsLower( struct Locale *locale, ULONG character ); BOOL __stdargs IsPrint( struct Locale *locale, ULONG character ); BOOL __stdargs IsPunct( struct Locale *locale, ULONG character ); BOOL __stdargs IsSpace( struct Locale *locale, ULONG character ); BOOL __stdargs IsUpper( struct Locale *locale, ULONG character ); BOOL __stdargs IsXDigit( struct Locale *locale, ULONG character ); struct Catalog * __stdargs OpenCatalogA( struct Locale *locale, STRPTR name, struct TagItem *tags ); struct Catalog * __stdargs OpenCatalog( struct Locale *locale, STRPTR name, Tag tag1, ... ); struct Locale * __stdargs OpenLocale( STRPTR name ); BOOL __stdargs ParseDate( struct Locale *locale, struct DateStamp *date, STRPTR fmtTemplate, struct Hook *getCharFunc ); ULONG __stdargs StrConvert( struct Locale *locale, STRPTR string, APTR buffer, ULONG bufferSize, ULONG type ); LONG __stdargs StrnCmp( struct Locale *locale, STRPTR string1, STRPTR string2, LONG length, ULONG type ); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CLIB_LOCALE_PROTOS_H */