home *** CD-ROM | disk | FTP | other *** search
/ IRIX Patches 1995 June / SGI IRIX Patches 1995 Jun.iso / 5.3_patches / patchSG0000499 / patchSG0000499.idb / usr / include / abi / X11 / SgiStrParse.h.z / SgiStrParse.h
Encoding:
C/C++ Source or Header  |  1995-06-12  |  680 b   |  30 lines

  1. #ifndef _SGISTRPARSE_H
  2. #define _SGISTRPARSE_H
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif /* __cplusplus */
  7.  
  8. typedef struct {
  9.     void        *indexes;
  10.     unsigned short    index_type;
  11.     unsigned short     codesetHandle;
  12. } _sgiEncData, *_sgiEncDataPtr;
  13.  
  14. int _sgiGetLocaleCodesets(char ***);
  15. int _sgimbStrParse(char *, _sgiEncData *, int *, int *);
  16. int _sgiwcStrParse(wchar_t *, _sgiEncData *, int *, int *);
  17. char *_sgiCreateOneMbString(_sgiEncData *, int);
  18.  
  19. #define _SGISTR_SUCCESS        0
  20. #define _SGISTR_NOLOCALE    -1
  21. #define _SGISTR_BADSTATE    -2
  22. #define _SGISTR_BADSTRING    -3
  23. #define _SGISTR_NOROOM        -4
  24. #define _SGISTR_ERROR        -100
  25.  
  26. #ifdef __cplusplus
  27. }
  28. #endif /* __cplusplus */
  29. #endif /* ! _SGISTRPARSE_H */
  30.