mUPnP for C
|
#include <mupnp/control/control.h>
#include <mupnp/device.h>
#include <mupnp/event/event.h>
#include <mupnp/util/log.h>
Functions | |
void | mupnp_event_subscription_request_setsid (mUpnpSubscriptionRequest *subReq, const char *sid) |
void | mupnp_event_subscription_request_settimeout (mUpnpSubscriptionRequest *subReq, long timeout) |
static void | mupnp_event_subscription_request_setservice (mUpnpSubscriptionRequest *subReq, mUpnpService *service) |
void | mupnp_event_subscription_request_setnewsubscription (mUpnpSubscriptionRequest *subReq, mUpnpService *service, const char *callback, mUpnpTime timeout) |
void | mupnp_event_subscription_request_setrenewsubscription (mUpnpSubscriptionRequest *subReq, mUpnpService *service, const char *uuid, mUpnpTime timeout) |
void | mupnp_event_subscription_request_setunsubscription (mUpnpSubscriptionRequest *subReq, mUpnpService *service) |
void mupnp_event_subscription_request_setnewsubscription | ( | mUpnpSubscriptionRequest * | subReq, |
mUpnpService * | service, | ||
const char * | callback, | ||
mUpnpTime | timeout ) |
(Re)initializes subscription request
subReq | Subscription request |
service | Service to be subscribed |
callback | URL to be called when service state changes |
timeout | Subscription timeout |
void mupnp_event_subscription_request_setrenewsubscription | ( | mUpnpSubscriptionRequest * | subReq, |
mUpnpService * | service, | ||
const char * | uuid, | ||
mUpnpTime | timeout ) |
(Re)initializes subscription request to be renewal request
subReq | Subscription request |
service | Service to be subscribed |
uuid | Devices unique identification string |
timeout | Subscription timeout |
|
static |
void mupnp_event_subscription_request_setsid | ( | mUpnpSubscriptionRequest * | subReq, |
const char * | sid ) |
Set sid to subscription request
subReq | Subscription request |
sid | SID (Subscription id) |
void mupnp_event_subscription_request_settimeout | ( | mUpnpSubscriptionRequest * | subReq, |
mUpnpTime | timeout ) |
Set timeout for subscription request
subReq | Subscription request |
timeout | Timeout value for subscription request |
void mupnp_event_subscription_request_setunsubscription | ( | mUpnpSubscriptionRequest * | subReq, |
mUpnpService * | service ) |
(Re)initializes subscription request to be unsubscription request
subReq | Subscription request |
service | Service where to be unsubscribed |