#ifndef __iconv_h
   #if __IBMC__ || __IBMCPP__
      #pragma info(none)
      #ifndef __CHKHDR__
         #pragma info(none)
      #endif
      #pragma info(restore)
   #endif

   #define __iconv_h

   #ifdef __cplusplus
      extern "C" {
   #endif

   #ifndef _LNK_CONV
      #if __IBMC__ || __IBMCPP__ || defined(_OPTLINK_SUPPORTED)
         #define _LNK_CONV _Optlink
      #else
         #define _LNK_CONV
      #endif
   #endif

   #ifndef _IMPORT
      #ifdef __IMPORTLIB__
         #define _IMPORT _Import
      #else
         #define _IMPORT
      #endif
   #endif

   /********************************************************************/
   /*  <iconv.h> Header File                                           */
   /*  IBM C and C++ Compilers for OS/2, AIX and for Windows NT,       */
   /*  Version 3.6                                                     */
   /*  Licensed Material - Property of IBM                             */
   /*  (C) Copyright IBM Corp. 1991, 1997. All rights reserved         */
   /*                                                                  */
   /********************************************************************/

   #ifndef __size_t
      #define __size_t
      typedef unsigned int size_t;
   #endif

   struct __iconv_rec;
   typedef struct __iconv_rec *iconv_t;

   extern iconv_t _LNK_CONV _IMPORT iconv_open(const char*, const char*);
   extern size_t  _LNK_CONV _IMPORT iconv(iconv_t, const char**, size_t*, char**, size_t*);
   extern int     _LNK_CONV _IMPORT iconv_close(iconv_t);

   #ifndef _CCSID_DEF
      #define _CCSID_DEF
      typedef unsigned int CCSID;
   #endif

   extern char *_LNK_CONV _IMPORT ccsidtocs(CCSID);
   extern CCSID _LNK_CONV _IMPORT cstoccsid(const char *);

   #ifdef __cplusplus
      }
   #endif

   #if __IBMC__ || __IBMCPP__
      #pragma info(none)
      #ifndef __CHKHDR__
         #pragma info(restore)
      #endif
      #pragma info(restore)
   #endif
#endif

