From 58f9d16e3a77d5207d9ccc413b61e2cb45190018 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Wed, 13 Jun 2007 20:47:19 +0200 Subject: Load /tmp/libxml2-2.6.29 into libxml2/branches/upstream/current. --- doc/html/libxml-threads.html | 5 ++++- doc/html/libxml-uri.html | 7 ++++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'doc/html') diff --git a/doc/html/libxml-threads.html b/doc/html/libxml-threads.html index eebcf3c..8bb2cbf 100644 --- a/doc/html/libxml-threads.html +++ b/doc/html/libxml-threads.html @@ -17,6 +17,7 @@ The content of this structure is not made public by the API. The content of this structure is not made public by the API.
Typedef xmlRMutex * xmlRMutexPtr
 
void	xmlCleanupThreads		(void)
+
int	xmlDllMain			(void * hinstDLL, 
unsigned long fdwReason,
void * lpvReserved)
void	xmlFreeMutex			(xmlMutexPtr tok)
void	xmlFreeRMutex			(xmlRMutexPtr tok)
xmlGlobalStatePtr	xmlGetGlobalState	(void)
@@ -38,7 +39,9 @@ The content of this structure is not made public by the API. The content of this structure is not made public by the API. }

Function: xmlCleanupThreads

void	xmlCleanupThreads		(void)

xmlCleanupThreads() is used to to cleanup all the thread related data of the libxml2 library once processing has ended.

-

Function: xmlFreeMutex

void	xmlFreeMutex			(xmlMutexPtr tok)
+

Function: xmlDllMain

int	xmlDllMain			(void * hinstDLL, 
unsigned long fdwReason,
void * lpvReserved)
+

+
hinstDLL:
fdwReason:
lpvReserved:
Returns:

Function: xmlFreeMutex

void	xmlFreeMutex			(xmlMutexPtr tok)

xmlFreeMutex() is used to reclaim resources associated with a libxml2 token struct.

tok:the simple mutex

Function: xmlFreeRMutex

void	xmlFreeRMutex			(xmlRMutexPtr tok)

xmlRFreeMutex() is used to reclaim resources associated with a reentrant mutex.

diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html index fa7ee19..1c668e8 100644 --- a/doc/html/libxml-uri.html +++ b/doc/html/libxml-uri.html @@ -36,9 +36,10 @@ A:link, A:visited, A:active { text-decoration: underline } char * user : the user part int port : the port number char * path : the path string - char * query : the query string + char * query : the query string (deprecated - use with char * fragment : the fragment identifier int cleanup : parsing potentially unclean URI + char * query_raw : the query string (as it appears in the }

Function: xmlBuildRelativeURI

xmlChar *	xmlBuildRelativeURI	(const xmlChar * URI, 
const xmlChar * base)

Expresses the URI of the reference in terms relative to the base. Some examples of this operation include: base = "http://site1.com/docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif pic1.gif http://site2.com/docs/pic1.gif http://site2.com/docs/pic1.gif base = "docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif http://site1.com/docs/pic1.gif Note: if the URI reference is really wierd or complicated, it may be worthwhile to first convert it into a "nice" one by calling xmlBuildURI (using 'base') before calling this routine, since this routine (for reasonable efficiency) assumes URI has already been through some validation.

URI:the URI reference under consideration
base:the base value
Returns:a new URI string (to be freed by the caller) or NULL in case error.

Function: xmlBuildURI

xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
@@ -68,5 +69,5 @@ A:link, A:visited, A:active { text-decoration: underline }
str:the string of the URI to escape
Returns:an copy of the string, but escaped 25 May 2001 Uses xmlParseURI and xmlURIEscapeStr to try to escape correctly according to RFC2396. - Carl Douglas

Function: xmlURIEscapeStr

xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)

This routine escapes a string to hex, ignoring reserved characters (a-z) and the characters in the exception list.

str:string to escape
list:exception list string of chars not to escape
Returns:a new escaped string or NULL in case of error.

Function: xmlURIUnescapeString

char *	xmlURIUnescapeString		(const char * str, 
int len,
char * target)
-

Unescaping routine, does not do validity checks ! Output is direct unsigned char translation of %XX values (no encoding)

-
str:the string to unescape
len:the length in bytes to unescape (or <= 0 to indicate full string)
target:optional destination buffer
Returns:an copy of the string, but unescaped

Daniel Veillard

+

Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string.

+
str:the string to unescape
len:the length in bytes to unescape (or <= 0 to indicate full string)
target:optional destination buffer
Returns:a copy of the string, but unescaped, will return NULL only in case of error

Daniel Veillard

-- cgit v1.2.3