Configure the full URL for the description document. More...
#include <upnp.hpp>
Go to the source code of this file.
Functions | |
int | configure_urlbase (IXML_Document *doc, const sockaddr *serverAddr, const char *alias, time_t last_modified, char docURL[LINE_SIZE]) |
Configure the full URL for the description document. | |
Configure the full URL for the description document.
Definition in file urlconfig.hpp.
int configure_urlbase | ( | IXML_Document * | doc, |
const sockaddr * | serverAddr, | ||
const char * | alias, | ||
time_t | last_modified, | ||
char | docURL[LINE_SIZE] | ||
) |
Configure the full URL for the description document.
Create the URL document and add alias, description information. The doc is added to the web server to be served using the given alias.
[in,out] | doc | IXML Description document (dom document whose urlbase is to be modified). |
[in] | serverAddr | Socket address object providing the IP address and port information (ip address and port of the miniserver). |
[in] | alias | String containing the alias (a name to be used for the temp, e.g.:"foo.xml"). |
[in] | last_modified | Time when the XML document was downloaded. |
[out] | docURL | Buffer to hold the URL of the document. |
Definition at line 307 of file urlconfig.cpp.