VirtualBox

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

最後變更 在這個檔案從96821是 95312,由 vboxsync 提交於 3 年 前

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 811 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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