LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
ssdp_cache.h
Go to the documentation of this file.
1 
7 #ifndef __SSDP_CACHE_H__
8 #define __SSDP_CACHE_H__
9 
10 #include "configuration.h"
11 #include "ssdp_message.h"
12 #include "sys/socket.h"
13 
21 typedef struct ssdp_cache_struct {
29  unsigned int *ssdp_messages_count;
30 } ssdp_cache_s;
31 
42 BOOL add_ssdp_message_to_cache(ssdp_cache_s **ssdp_cache_pointer,
43  ssdp_message_s **ssdp_message_pointer);
44 
57 int flush_ssdp_cache(configuration_s *conf, ssdp_cache_s **ssdp_cache_pointer,
58  const char *url, struct sockaddr_storage *sockaddr_recipient, int port,
59  int timeout);
60 
61 #endif /* __SSDP_CACHE_H__ */
int flush_ssdp_cache(configuration_s *conf, ssdp_cache_s **ssdp_cache_pointer, const char *url, struct sockaddr_storage *sockaddr_recipient, int port, int timeout)
Definition: ssdp_cache.c:392
struct ssdp_cache_struct * next
Definition: ssdp_cache.h:27
struct ssdp_cache_struct * first
Definition: ssdp_cache.h:23
BOOL add_ssdp_message_to_cache(ssdp_cache_s **ssdp_cache_pointer, ssdp_message_s **ssdp_message_pointer)
Definition: ssdp_cache.c:290
ssdp_message_s * ssdp_message
Definition: ssdp_cache.h:25
int BOOL
static configuration_s conf
Definition: main.c:73
unsigned int * ssdp_messages_count
Definition: ssdp_cache.h:29
struct ssdp_cache_struct ssdp_cache_s