VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/os400/transcode.h@ 98995

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
1/**
2*** Transcoding support declarations.
3***
4*** See Copyright for the status of this software.
5***
6*** Author: Patrick Monnerat <[email protected]>, DATASPHERE S.A.
7**/
8
9#ifndef _TRANSCODE_H_
10#define _TRANSCODE_H_
11
12#include <stdarg.h>
13#include <libxml/dict.h>
14
15
16XMLPUBFUN void xmlZapDict(xmlDictPtr * dict);
17XMLPUBFUN const char * xmlTranscodeResult(const xmlChar * s,
18 const char * encoding, xmlDictPtr * dict,
19 void (*freeproc)(const void *));
20XMLPUBFUN const xmlChar * xmlTranscodeString(const char * s,
21 const char * encoding, xmlDictPtr * dict);
22XMLPUBFUN const xmlChar * xmlTranscodeWString(const char * s,
23 const char * encoding, xmlDictPtr * dict);
24XMLPUBFUN const xmlChar * xmlTranscodeHString(const char * s,
25 const char * encoding, xmlDictPtr * dict);
26
27#ifndef XML_NO_SHORT_NAMES
28/**
29*** Since the above functions are generally called "inline" (i.e.: several
30*** times nested in a single expression), define shorthand names
31*** to minimize calling statement length.
32**/
33
34#define xmlTR xmlTranscodeResult
35#define xmlTS xmlTranscodeString
36#define xmlTW xmlTranscodeWString
37#define xmlTH xmlTranscodeHstring
38#endif
39
40XMLPUBFUN const char * xmlVasprintf(xmlDictPtr * dict, const char * encoding,
41 const xmlChar * fmt, va_list args);
42
43#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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