VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/os400/iconv/iconv.h@ 98321

Last change on this file since 98321 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

  • Property svn:eol-style set to native
File size: 811 bytes
Line 
1/**
2*** Declarations for the iconv wrappers.
3***
4*** See Copyright for the status of this software.
5***
6*** Author: Patrick Monnerat <[email protected]>, DATASPHERE S.A.
7**/
8
9#ifndef __ICONV_H_
10#define __ICONV_H_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#include <stddef.h> /* For size_t. */
17
18
19typedef void * Iconv_t;
20
21
22Iconv_t IconvOpen(const char * tocode, const char * fromcode);
23size_t Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft,
24 char * * outbuf, size_t * outbytesleft);
25int IconvClose(Iconv_t cd);
26
27
28#ifndef USE_SYSTEM_ICONV
29#define iconv_t Iconv_t
30#define iconv_open IconvOpen
31#define iconv Iconv
32#define iconv_close IconvClose
33#endif
34
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette