This file defines the functions for control points. More...
#include <client_table.hpp>
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. | |
GenlibClientSubscription * | GetClientSubClientSID (GenlibClientSubscription *head, const UpnpString *sid) |
Return the client subscription from the client table that matches const Upnp_SID sid subscrition id value. | |
GenlibClientSubscription * | GetClientSubActualSID (GenlibClientSubscription *head, token *sid) |
Returns the client subscription from the client subscription table that has the matching token *sid buffer value. | |
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.
void free_client_subscription | ( | GenlibClientSubscription * | sub | ) |
Free memory allocated for client subscription data.
Remove timer thread associated with this subscription event.
[in] | sub | Client subscription to be freed. |
Definition at line 20 of file client_table.cpp.
void freeClientSubList | ( | GenlibClientSubscription * | list | ) |
Free the client subscription table.
[in] | list | Client subscription list to be freed. |
Definition at line 37 of file client_table.cpp.
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.
[in] | head | Head of the subscription list. |
[in] | sid | Subscription ID to be mactched. |
Definition at line 47 of file client_table.cpp.
GenlibClientSubscription * GetClientSubClientSID | ( | GenlibClientSubscription * | head, |
const UpnpString * | sid | ||
) |
Return the client subscription from the client table that matches const Upnp_SID sid subscrition id value.
[in] | head | Head of the subscription list. |
[in] | sid | Subscription ID to be mactched. |
Definition at line 72 of file client_table.cpp.
GenlibClientSubscription * GetClientSubActualSID | ( | GenlibClientSubscription * | head, |
token * | sid | ||
) |
Returns the client subscription from the client subscription table that has the matching token *sid buffer value.
[in] | head | Head of the subscription list. |
[in] | sid | Subscription ID to be mactched. |
Definition at line 89 of file client_table.cpp.