LIBSSDP
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
include
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
{
23
struct
ssdp_cache_struct
*
first
;
25
ssdp_message_s
*
ssdp_message
;
27
struct
ssdp_cache_struct
*
next
;
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__ */
flush_ssdp_cache
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
ssdp_message.h
ssdp_cache_struct::next
struct ssdp_cache_struct * next
Definition:
ssdp_cache.h:27
ssdp_cache_struct
Definition:
ssdp_cache.h:21
configuration.h
ssdp_cache_struct::first
struct ssdp_cache_struct * first
Definition:
ssdp_cache.h:23
add_ssdp_message_to_cache
BOOL add_ssdp_message_to_cache(ssdp_cache_s **ssdp_cache_pointer, ssdp_message_s **ssdp_message_pointer)
Definition:
ssdp_cache.c:290
configuration_struct
Definition:
configuration.h:14
ssdp_cache_struct::ssdp_message
ssdp_message_s * ssdp_message
Definition:
ssdp_cache.h:25
BOOL
int BOOL
Definition:
common_definitions.h:34
conf
static configuration_s conf
Definition:
main.c:73
ssdp_message_struct
Definition:
ssdp_message.h:82
ssdp_cache_struct::ssdp_messages_count
unsigned int * ssdp_messages_count
Definition:
ssdp_cache.h:29
ssdp_cache_s
struct ssdp_cache_struct ssdp_cache_s
Generated on Mon Jun 12 2017 08:54:20 for LIBSSDP by
1.8.8