home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / locale_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  2.4 KB  |  67 lines

  1. #ifndef  CLIB_LOCALE_PROTOS_H
  2. #define  CLIB_LOCALE_PROTOS_H
  3.  
  4. /*
  5. **    $VER: locale_protos.h 38.5 (18.6.1993)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef  EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20. #ifndef  LIBRARIES_LOCALE_H
  21. #include <libraries/locale.h>
  22. #endif
  23. #ifndef  DOS_DOS_H
  24. #include <dos/dos.h>
  25. #endif
  26. #ifndef  UTILITY_HOOKS_H
  27. #include <utility/hooks.h>
  28. #endif
  29. #ifndef  UTILITY_TAGITEM_H
  30. #include <utility/tagitem.h>
  31. #endif
  32. #ifndef  REXX_STORAGE_H
  33. #include <rexx/storage.h>
  34. #endif
  35. /*--- functions in V38 or higher (Release 2.1) ---*/
  36. VOID CloseCatalog( struct Catalog *catalog );
  37. VOID CloseLocale( struct Locale *locale );
  38. ULONG ConvToLower( struct Locale *locale, ULONG character );
  39. ULONG ConvToUpper( struct Locale *locale, ULONG character );
  40. VOID FormatDate( struct Locale *locale, STRPTR fmtTemplate, struct DateStamp *date, struct Hook *putCharFunc );
  41. APTR FormatString( struct Locale *locale, STRPTR fmtTemplate, APTR dataStream, struct Hook *putCharFunc );
  42. STRPTR GetCatalogStr( struct Catalog *catalog, LONG stringNum, STRPTR defaultString );
  43. STRPTR GetLocaleStr( struct Locale *locale, ULONG stringNum );
  44. BOOL IsAlNum( struct Locale *locale, ULONG character );
  45. BOOL IsAlpha( struct Locale *locale, ULONG character );
  46. BOOL IsCntrl( struct Locale *locale, ULONG character );
  47. BOOL IsDigit( struct Locale *locale, ULONG character );
  48. BOOL IsGraph( struct Locale *locale, ULONG character );
  49. BOOL IsLower( struct Locale *locale, ULONG character );
  50. BOOL IsPrint( struct Locale *locale, ULONG character );
  51. BOOL IsPunct( struct Locale *locale, ULONG character );
  52. BOOL IsSpace( struct Locale *locale, ULONG character );
  53. BOOL IsUpper( struct Locale *locale, ULONG character );
  54. BOOL IsXDigit( struct Locale *locale, ULONG character );
  55. struct Catalog *OpenCatalogA( struct Locale *locale, STRPTR name, struct TagItem *tags );
  56. struct Catalog *OpenCatalog( struct Locale *locale, STRPTR name, Tag tag1, ... );
  57. struct Locale *OpenLocale( STRPTR name );
  58. BOOL ParseDate( struct Locale *locale, struct DateStamp *date, STRPTR fmtTemplate, struct Hook *getCharFunc );
  59. ULONG StrConvert( struct Locale *locale, STRPTR string, APTR buffer, ULONG bufferSize, ULONG type );
  60. LONG StrnCmp( struct Locale *locale, STRPTR string1, STRPTR string2, LONG length, ULONG type );
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif /* __cplusplus */
  65.  
  66. #endif   /* CLIB_LOCALE_PROTOS_H */
  67.