home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / common / rbread.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.5 KB  |  46 lines

  1. /*
  2. *******************************************************************************
  3. *                                                                             *
  4. * COPYRIGHT:                                                                  *
  5. *   (C) Copyright International Business Machines Corporation, 1998, 1999     *
  6. *   Licensed Material - Program-Property of IBM - All Rights Reserved.        *
  7. *   US Government Users Restricted Rights - Use, duplication, or disclosure   *
  8. *   restricted by GSA ADP Schedule Contract with IBM Corp.                    *
  9. *                                                                             *
  10. *******************************************************************************
  11. *
  12. * File rbread.h
  13. *
  14. * Modification History:
  15. *
  16. *   Date        Name        Description
  17. *   06/14/99    stephen     Creation.
  18. *******************************************************************************
  19. */
  20.  
  21. #ifndef RBREAD_H
  22. #define RBREAD_H 1
  23.  
  24. #include "utypes.h"
  25. #include "filestrm.h"
  26. #include "uhash.h"
  27. #include "unistr.h"
  28.  
  29. /* Byte order mark for compiled resource bundle files */
  30. static const int32_t sBOM          = 0x021C;
  31.  
  32. /* Type of resource indicators */
  33. static const int32_t sSTRINGLIST   = 1;
  34. static const int32_t sSTRINGLIST2D = 2;
  35. static const int32_t sTAGGEDLIST   = 3;
  36.  
  37. /* EOF indicator */
  38. static const int32_t sEOF          = -1;
  39.  
  40. /* Parse a compiled resource bundle into a hashtable and locale name */
  41. UHashtable* rb_parse(FileStream *f, 
  42.              UnicodeString& localename, 
  43.              UErrorCode& status);
  44.  
  45. #endif /* ! RBREAD_H */
  46.