libUPnP  1.6.20
Functions
gena_ctrlpt.h File Reference
#include "sock.h"
Include dependency graph for gena_ctrlpt.h:

Go to the source code of this file.

Functions

void gena_process_notification_event (SOCKINFO *info, http_message_t *event)
 This function processes NOTIFY events that are sent by devices. More...
 

Function Documentation

void gena_process_notification_event ( SOCKINFO info,
http_message_t event 
)

This function processes NOTIFY events that are sent by devices.

Parameters: IN SOCKINFO *info: Socket structure containing the device socket information IN http_message_t *event: The http message contains the GENA notification

Note
called by genacallback()
Parameters
[in]infoSocket info of the device.
[in]eventThe http message contains the GENA notification.

References memptr::buf, Handle_Info::Callback, Upnp_Event::ChangedVariables, Handle_Info::ClientSubList, Handle_Info::Cookie, http_message_t::entity, error_respond(), Upnp_Event::EventKey, GetClientHandleInfo(), GetClientSubActualSID(), has_xml_content_type(), ixmlDocument_free(), ixmlParseBufferEx(), memptr::length, membuffer::length, memptr_cmp(), http_message_t::msg, PARSE_OK, Upnp_Event::Sid, SubscribeLock, SubscribeUnlock, UPNP_EVENT_RECEIVED, UpnpClientSubscription_get_SID(), and UpnpString_get_String().