libUPnP
1.8.0
|
#include "sock.h"
Go to the source code of this file.
Functions | |
void | gena_process_subscription_request (SOCKINFO *info, http_message_t *request) |
Handles a subscription request from a ctrl point. The socket is not closed on return. | |
void | gena_process_subscription_renewal_request (SOCKINFO *info, http_message_t *request) |
Handles a subscription renewal request from a ctrl point. The connection is not destroyed on return. | |
void | gena_process_unsubscribe_request (SOCKINFO *info, http_message_t *request) |
Handles a subscription cancellation request from a ctrl point. The connection is not destroyed on return. |
void gena_process_subscription_renewal_request | ( | SOCKINFO * | info, |
http_message_t * | request | ||
) |
Handles a subscription renewal request from a ctrl point. The connection is not destroyed on return.
[in] | info | Socket info of the device. |
[in] | request | Subscription renewal request from the control point. |
References error_respond(), GetDeviceHandleInfo(), Handle_Info::MaxSubscriptions, Handle_Info::MaxSubscriptionTimeOut, respond_ok(), Handle_Info::ServiceTable, UPNP_E_SUCCESS, and UpnpPrintf().
void gena_process_subscription_request | ( | SOCKINFO * | info, |
http_message_t * | request | ||
) |
Handles a subscription request from a ctrl point. The socket is not closed on return.
[in] | info | Socket info of the device. |
[in] | request | Subscription request from the control point. |
References Handle_Info::Callback, Handle_Info::Cookie, create_url_list(), error_respond(), GetDeviceHandleInfo(), Handle_Info::MaxSubscriptions, Handle_Info::MaxSubscriptionTimeOut, respond_ok(), Handle_Info::ServiceTable, UPNP_E_OUTOF_MEMORY, UPNP_E_SUCCESS, UPNP_EVENT_SUBSCRIPTION_REQUEST, UpnpPrintf(), UpnpSubscriptionRequest_delete(), UpnpSubscriptionRequest_new(), and URL_LIST::URLs.
void gena_process_unsubscribe_request | ( | SOCKINFO * | info, |
http_message_t * | request | ||
) |
Handles a subscription cancellation request from a ctrl point. The connection is not destroyed on return.
[in] | info | Socket info of the device. |
[in] | request | UNSUBSCRIBE request from the control point. |
References error_respond(), GetDeviceHandleInfo(), and Handle_Info::ServiceTable.