client_table.h
Go to the documentation of this file.
#ifndef CLIENT_TABLE_H
#define CLIENT_TABLE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "ClientSubscription.h"
#include "service_table.h"
#include "upnp.h"
#include "UpnpString.h"
#include "upnp_timeout.h"
#include "uri.h"
#include "TimerThread.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
extern TimerThread gTimerThread;
#ifdef INCLUDE_CLIENT_APIS
void free_client_subscription(
ClientSubscription *sub);
void freeClientSubList(
ClientSubscription *list);
void RemoveClientSubClientSID(
ClientSubscription **head,
const UpnpString *sid);
ClientSubscription *GetClientSubClientSID(
ClientSubscription *head,
const UpnpString *sid);
ClientSubscription *GetClientSubActualSID(
ClientSubscription *head,
token *sid);
#endif /* INCLUDE_CLIENT_APIS */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* CLIENT_TABLE_H */
upnp.h
TIMERTHREAD
Definition: TimerThread.h:71
TimerThread.h
UpnpString.h
UpnpString object declarartion.
ClientSubscription.h
uri.h
service_table.h
GetClientSubClientSID
ClientSubscription * GetClientSubClientSID(ClientSubscription *head, const UpnpString *sid)
Return the client subscription from the client table that matches const Upnp_SID sid subscrition id v...
Definition: client_table.c:82
upnp_timeout.h
TOKEN
Buffer used in parsinghttp messages, urls, etc. generally this simply holds a pointer into a larger a...
Definition: uri.h:127
RemoveClientSubClientSID
void RemoveClientSubClientSID(ClientSubscription **head, const UpnpString *sid)
Remove the client subscription matching the subscritpion id represented by the const Upnp_SID sid par...
Definition: client_table.c:55
gTimerThread
TimerThread gTimerThread
Definition: upnpapi.c:120
GetClientSubActualSID
ClientSubscription * GetClientSubActualSID(ClientSubscription *head, token *sid)
Returns the client subscription from the client subscription table that has the matching token *sid b...
Definition: client_table.c:101
freeClientSubList
void freeClientSubList(ClientSubscription *list)
Free the client subscription table.
Definition: client_table.c:43
UpnpString
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition: UpnpString.h:35
free_client_subscription
void free_client_subscription(ClientSubscription *sub)
Free memory allocated for client subscription data.
Definition: client_table.c:22