libUPnP 1.14.19
Functions
upnptools.h File Reference
#include "ixml.h"
#include "upnpconfig.h"
Include dependency graph for upnptools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

UPNP_EXPORT_SPEC const char * UpnpGetErrorMessage (int errorcode)
 Converts an SDK error code into a string error message suitable for display. The memory returned from this function should NOT be freed.
 
UPNP_EXPORT_SPEC int UpnpResolveURL (const char *BaseURL, const char *RelURL, char *AbsURL)
 Combines a base URL and a relative URL into a single absolute URL.
 
UPNP_EXPORT_SPEC int UpnpResolveURL2 (const char *BaseURL, const char *RelURL, char **AbsURL)
 Combines a base URL and a relative URL into a single absolute URL.
 
UPNP_EXPORT_SPEC IXML_DocumentUpnpMakeAction (const char *ActionName, const char *ServType, int NumArg, const char *Arg,...)
 Creates an action request packet based on its input parameters (status variable name and value pair).
 
UPNP_EXPORT_SPEC IXML_DocumentUpnpMakeActionResponse (const char *ActionName, const char *ServType, int NumArg, const char *Arg,...)
 Ceates an action response packet based on its output parameters (status variable name and value pair).
 
UPNP_EXPORT_SPEC int UpnpAddToAction (IXML_Document **ActionDoc, const char *ActionName, const char *ServType, const char *ArgName, const char *ArgVal)
 Adds the argument in the action request.
 
UPNP_EXPORT_SPEC int UpnpAddToActionResponse (IXML_Document **ActionResponse, const char *ActionName, const char *ServType, const char *ArgName, const char *ArgVal)
 Creates an action response packet based on its output parameters (status variable name and value pair).
 
UPNP_EXPORT_SPEC IXML_DocumentUpnpCreatePropertySet (int NumArg, const char *Arg,...)
 Creates a property set message packet.
 
UPNP_EXPORT_SPEC int UpnpAddToPropertySet (IXML_Document **PropSet, const char *ArgName, const char *ArgVal)
 Can be used when an application needs to transfer the status of many variables at once.