|
mUPnP for C
|
Functions | |
| mUpnpSSDPRequest * | mupnp_ssdprequest_new (void) |
| Create a new SSDP request message. | |
| void | mupnp_ssdprequest_delete (mUpnpSSDPRequest *ssdpReq) |
| Destroy an SSDP request message and free resources. | |
| void | mupnp_ssdprequest_setleasetime (mUpnpSSDPRequest *ssdpReq, mUpnpTime value) |
| mUpnpTime | mupnp_ssdprequest_getleasetime (mUpnpSSDPRequest *ssdpReq) |
| char * | mupnp_ssdprequest_tostring (mUpnpSSDPRequest *ssdpReq, mUpnpString *ssdpMsg) |
| void mupnp_ssdprequest_delete | ( | mUpnpSSDPRequest * | ssdpReq | ) |
Destroy an SSDP request message and free resources.
Releases all resources associated with the SSDP request, including header fields and message content.
| ssdpReq | The SSDP request to destroy. May be NULL (no-op if NULL). |
| mUpnpTime mupnp_ssdprequest_getleasetime | ( | mUpnpSSDPRequest * | ssdpReq | ) |
| mUpnpSSDPRequest * mupnp_ssdprequest_new | ( | void | ) |
Create a new SSDP request message.
Allocates and initializes a new SSDP request object, which is used for:
SSDP requests are HTTP-based messages sent over UDP multicast or unicast.
| void mupnp_ssdprequest_setleasetime | ( | mUpnpSSDPRequest * | ssdpReq, |
| mUpnpTime | value ) |
| char * mupnp_ssdprequest_tostring | ( | mUpnpSSDPRequest * | ssdpReq, |
| mUpnpString * | ssdpMsg ) |