home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / i18nv104.zip / INCLUDE / ICONV.H next >
C/C++ Source or Header  |  1996-02-13  |  925b  |  43 lines

  1. /*
  2.  *   (C) COPYRIGHT International Business Machines Corp. 1991, 1995
  3.  *   All Rights Reserved
  4.  *   Licensed Materials - Property of IBM
  5.  *   US Government Users Restricted Rights - Use, duplication or
  6.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7.  */
  8.  
  9. #ifndef _ICONV_H
  10.   #define _ICONV_H
  11.  
  12.   #ifndef __ICONVP_H
  13.     typedef void *iconv_t;
  14.   #endif
  15.  
  16.   #ifndef CCSID_DEF
  17.     #define CCSID_DEF
  18.     typedef unsigned int     CCSID;
  19.   #endif
  20.  
  21.   #include <stddef.h>
  22.  
  23. #undef EILSEQ
  24. #define EILSEQ         52
  25. #undef E2BIG
  26. #define E2BIG          53
  27. #undef ENAMETOOLONG
  28. #define ENAMETOOLONG    86      /* File name too long           */
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34.   iconv_t iconv_open (const char*, const char*);
  35.   size_t  iconv (iconv_t, char**, size_t*, char**, size_t*);
  36.   int     iconv_close (iconv_t);
  37.  
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41.  
  42. #endif /*!_ICONV_H*/
  43.