/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* bos72Q src/bos/usr/include/iconv.h 1.20.1.1 */ /* */ /* Licensed Materials - Property of IBM */ /* */ /* COPYRIGHT International Business Machines Corp. 1991,2019 */ /* All Rights Reserved */ /* */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /* */ /* IBM_PROLOG_END_TAG */ /* @(#)09 1.20.1.1 src/bos/usr/include/iconv.h, libiconv, bos72Q, q2019_13A4 2/5/19 03:06:42 * * COMPONENT_NAME: LIBICONV * * FUNCTIONS: * * ORIGINS: 27 * * * (C) COPYRIGHT International Business Machines Corp. 1991, 1994 * All Rights Reserved * Licensed Materials - Property of IBM * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ #ifndef _ICONV_H #define _ICONV_H #ifndef _H_STANDARDS #include #endif #include #ifndef _H_TYPES #include #endif #ifndef __H_LC_CORE #include #endif #include #ifdef _ALL_SOURCE #ifndef _THREAD_SAFE_ERRNO #define _THREAD_SAFE_ERRNO #endif #include #endif #ifdef _XOPEN_SOURCE #define _LC_ICONV 10 #ifdef __cplusplus extern "C" { #endif /* * Definition of iconv_t type. */ typedef struct __iconv_rec *iconv_t; struct __iconv_rec { #ifdef _ALL_SOURCE _LC_object_t hdr; iconv_t (*open) (const uchar_t*, const uchar_t*); size_t (*exec) (iconv_t, uchar_t**, size_t*, uchar_t**, size_t*); int (*close)(iconv_t); #else _LC_object_t __hdr; iconv_t (*__open) (const uchar_t*, const uchar_t*); size_t (*__exec) (iconv_t, uchar_t**, size_t *, uchar_t**, size_t *); int (*__close)(iconv_t); #endif /*_ALL_SOURCE*/ }; typedef struct _LC_core_iconv_type _LC_core_iconv_t; struct _LC_core_iconv_type { #ifdef _ALL_SOURCE _LC_object_t hdr; _LC_core_iconv_t *(*init)(); size_t (*exec)(); int (*close)(); #else _LC_object_t __hdr; _LC_core_iconv_t *(*__init)(); size_t (*__exec)(); int (*__close)(); #endif /*_ALL_SOURCE*/ }; /* * methods. */ extern iconv_t iconv_open(const char*, const char*); extern size_t iconv(iconv_t, char**__restrict__, size_t*__restrict__, char**__restrict__, size_t*__restrict__); extern int iconv_close(iconv_t); #endif /*_XOPEN_SOURCE*/ #ifdef _ALL_SOURCE typedef struct __iconv_rec iconv_rec; typedef unsigned int CCSID; extern char * ccsidtocs(CCSID); extern CCSID cstoccsid(const char*); #endif /*_ALL_SOURCE*/ #ifdef __cplusplus } #endif #endif /*!_ICONV_H*/