libUPnP 1.8.4
client_table.h
Go to the documentation of this file.
1
2#ifndef CLIENT_TABLE_H
3#define CLIENT_TABLE_H
4
5
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15
16#include "ClientSubscription.h"
17#include "service_table.h"
18#include "upnp.h"
19#include "UpnpString.h"
20#include "upnp_timeout.h"
21#include "uri.h"
22#include "TimerThread.h"
23
24
25#include <stdio.h>
26#include <stdlib.h>
27#include <time.h>
28
29
31
32
33#ifdef INCLUDE_CLIENT_APIS
34
35
43 GenlibClientSubscription *sub);
44
45
51 GenlibClientSubscription *list);
52
53
61 GenlibClientSubscription **head,
63 const UpnpString *sid);
64
65
72GenlibClientSubscription *GetClientSubClientSID(
74 GenlibClientSubscription *head,
76 const UpnpString *sid);
77
78
85GenlibClientSubscription *GetClientSubActualSID(
87 GenlibClientSubscription *head,
89 token *sid);
90
91
92#endif /* INCLUDE_CLIENT_APIS */
93
94
95#ifdef __cplusplus
96}
97#endif /* __cplusplus */
98
99
100#endif /* CLIENT_TABLE_H */
101
GenlibClientSubscription object declararion.
UpnpString object declaration.
void free_client_subscription(GenlibClientSubscription *sub)
Free memory allocated for client subscription data.
Definition: client_table.c:22
GenlibClientSubscription * GetClientSubClientSID(GenlibClientSubscription *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
void RemoveClientSubClientSID(GenlibClientSubscription **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
void freeClientSubList(GenlibClientSubscription *list)
Free the client subscription table.
Definition: client_table.c:43
GenlibClientSubscription * GetClientSubActualSID(GenlibClientSubscription *head, token *sid)
Returns the client subscription from the client subscription table that has the matching token *sid b...
Definition: client_table.c:101
TimerThread gTimerThread
Definition: upnpapi.c:119
struct s_UpnpString UpnpString
Type of the string objects inside libupnp.
Definition: UpnpString.h:38
Definition: TimerThread.h:68
Buffer used in parsinghttp messages, urls, etc. generally this simply holds a pointer into a larger a...
Definition: uri.h:117