UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
client_table.cpp File Reference

This file defines the functions for control points. More...

#include <client_table.hpp>
+ Include dependency graph for client_table.cpp:

Go to the source code of this file.

Functions

void free_client_subscription (GenlibClientSubscription *sub)
 Free memory allocated for client subscription data.
 
void freeClientSubList (GenlibClientSubscription *list)
 Free the client subscription table.
 
void RemoveClientSubClientSID (GenlibClientSubscription **head, const UpnpString *sid)
 Remove the client subscription matching the subscritpion id represented by the const Upnp_SID sid parameter from the table and update the table.
 
GenlibClientSubscriptionGetClientSubClientSID (GenlibClientSubscription *head, const UpnpString *sid)
 Return the client subscription from the client table that matches const Upnp_SID sid subscrition id value.
 
GenlibClientSubscriptionGetClientSubActualSID (GenlibClientSubscription *head, token *sid)
 Returns the client subscription from the client subscription table that has the matching token *sid buffer value.
 

Detailed Description

This file defines the functions for control points.

It defines functions for adding and removing control points to and from the client table, adding and accessing subscription and other attributes pertaining to the control point.

Definition in file client_table.cpp.

Function Documentation

◆ free_client_subscription()

void free_client_subscription ( GenlibClientSubscription sub)

Free memory allocated for client subscription data.

Remove timer thread associated with this subscription event.

Parameters
[in]subClient subscription to be freed.

Definition at line 20 of file client_table.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ freeClientSubList()

void freeClientSubList ( GenlibClientSubscription list)

Free the client subscription table.

Parameters
[in]listClient subscription list to be freed.

Definition at line 37 of file client_table.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveClientSubClientSID()

void RemoveClientSubClientSID ( GenlibClientSubscription **  head,
const UpnpString sid 
)

Remove the client subscription matching the subscritpion id represented by the const Upnp_SID sid parameter from the table and update the table.

Parameters
[in]headHead of the subscription list.
[in]sidSubscription ID to be mactched.

Definition at line 47 of file client_table.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetClientSubClientSID()

GenlibClientSubscription * GetClientSubClientSID ( GenlibClientSubscription head,
const UpnpString sid 
)

Return the client subscription from the client table that matches const Upnp_SID sid subscrition id value.

Returns
The matching subscription.
Parameters
[in]headHead of the subscription list.
[in]sidSubscription ID to be mactched.

Definition at line 72 of file client_table.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetClientSubActualSID()

GenlibClientSubscription * GetClientSubActualSID ( GenlibClientSubscription head,
token sid 
)

Returns the client subscription from the client subscription table that has the matching token *sid buffer value.

Returns
The matching subscription.
Parameters
[in]headHead of the subscription list.
[in]sidSubscription ID to be mactched.

Definition at line 89 of file client_table.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: