Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 8e412c6ae4e9dc4ce4e111b93c4a8d4a > files > 223

libupnp-devel-1.6.6-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>EXPORT_SPEC int UpnpDownloadXmlDoc</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpDownloadXmlDoc</A></H2><H2>( IN const char* url,<BR>&nbsp;  OUT IXML_Document** xmlDoc )</H2><BLOCKQUOTE><B>UpnpDownloadXmlDoc</B> downloads an XML document specified in a URL.</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE><B>UpnpDownloadXmlDoc</B> downloads an XML document specified in a URL.
The SDK parses the document and returns it in the form of a 
DOM document. The application is responsible for freeing the DOM document.

<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>url</B> -   URL of the XML document. 
<BR><B>xmlDoc</B> -   A pointer in which to store the 
XML document. <BR><DT><B>Returns:</B><DD>  [int] An integer representing one of the following:
<UL>
<LI> <TT>UPNP_E_SUCCESS</TT>: The operation completed successfully.
<LI> <TT>UPNP_E_INVALID_PARAM</TT>: Either <B>url</B> or <B>xmlDoc</B> 
is not a valid pointer.
<LI> <TT>UPNP_E_INVALID_DESC</TT>: The XML document was not 
found or it does not contain a valid XML description.
<LI> <TT>UPNP_E_INVALID_URL</TT>: The <B>url</B> is not a valid 
URL.
<LI> <TT>UPNP_E_OUTOF_MEMORY</TT>: There are insufficient resources to 
download the XML document.
<LI> <TT>UPNP_E_NETWORK_ERROR</TT>: A network error occurred.
<LI> <TT>UPNP_E_SOCKET_WRITE</TT>: An error or timeout occurred writing 
to a socket.
<LI> <TT>UPNP_E_SOCKET_READ</TT>: An error or timeout occurred reading 
from a socket.
<LI> <TT>UPNP_E_SOCKET_BIND</TT>: An error occurred binding a socket.
<LI> <TT>UPNP_E_SOCKET_CONNECT</TT>: An error occurred connecting the 
socket.
<LI> <TT>UPNP_E_OUTOF_SOCKET</TT>: Too many sockets are currently 
allocated.
</UL>
<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>