Functions | |
Scope restricted to file | |
| int | addrToString (const sockaddr *addr, char *ipaddr_port, size_t ipaddr_port_size) |
| Converts an Internet address to a string and stores it in a buffer. | |
| int | calc_alias (const char *alias, const char *rootPath, char **newAlias) |
| Determine alias based urlbase's root path. | |
| int | calc_descURL (const char *ipPortStr, const char *alias, char descURL[LINE_SIZE]) |
| Determines the description URL. | |
| int | config_description_doc (IXML_Document *doc, const char *ip_str, char **root_path_str) |
| Configure the description document. | |
|
inline |
Converts an Internet address to a string and stores it in a buffer.
| [in] | addr | Pointer to socket address with the IP Address and port information. |
| [out] | ipaddr_port | Character array which will hold the IP Address in a string format. |
| [in] | ipaddr_port_size | Ipaddr_port buffer size. |
Definition at line 68 of file urlconfig.cpp.
Here is the caller graph for this function:
|
inline |
Determine alias based urlbase's root path.
| [in] | alias | String containing the alias. |
| [in] | rootPath | String containing the root path. |
| [out] | newAlias | String pointer to hold the modified new alias. After use it should be freed using free(). |
Definition at line 105 of file urlconfig.cpp.
Here is the caller graph for this function:
|
inline |
Determines the description URL.
| [in] | ipPortStr | String containing the portnumber. |
| [in] | alias | String containing the alias. |
| [out] | descURL | Buffer to hold the calculated description URL. |
Definition at line 150 of file urlconfig.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Configure the description document.
Add the standard format and then add information from the root device and any child nodes.
| [in,out] | doc | IMXL description document to be configured. |
| [in] | ip_str | ipaddress string. |
| [out] | root_path_str | buffer to hold the root path of the configured description document. |
Definition at line 184 of file urlconfig.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: