mUPnP for C
subscription_response.c File Reference

Functions

void mupnp_event_subscription_subscriberesponse_setresponse (mUpnpSubscriptionResponse *subRes, int code)
 
void mupnp_event_subscription_response_setsid (mUpnpSubscriptionResponse *subRes, const char *sid)
 
void mupnp_event_subscription_response_settimeout (mUpnpSubscriptionResponse *subRes, long value)
 

Function Documentation

◆ mupnp_event_subscription_response_setsid()

void mupnp_event_subscription_response_setsid ( mUpnpSubscriptionResponse * subRes,
const char * sid )

Set SID (Subscription ID) for response

Parameters
subResSubscription response
sidSubscription ID

◆ mupnp_event_subscription_response_settimeout()

void mupnp_event_subscription_response_settimeout ( mUpnpSubscriptionResponse * subRes,
long value )

Set HTTP timeout for subscription response

Parameters
subResSubscription response
valueTimeout

◆ mupnp_event_subscription_subscriberesponse_setresponse()

void mupnp_event_subscription_subscriberesponse_setresponse ( mUpnpSubscriptionResponse * subRes,
int code )

Set response code for subscription response

Parameters
subResSubscription response
codeResponse code