UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
client_table.hpp File Reference
+ Include dependency graph for client_table.hpp:
+ This graph shows which files directly or indirectly include this file:

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.
 

Variables

TimerThread gTimerThread
 Global timer thread.
 

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:

Variable Documentation

◆ gTimerThread

TimerThread gTimerThread
extern

Global timer thread.

Definition at line 256 of file upnpapi.cpp.