VirtualBox

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

Last change on this file since 103850 was 95312, checked in by vboxsync, 2 years ago

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

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
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
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