home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / clib / locale_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  2.4 KB  |  68 lines

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