LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
Public Attributes | List of all members
ssdp_message_struct Struct Reference

#include <ssdp_message.h>

Collaboration diagram for ssdp_message_struct:
Collaboration graph
[legend]

Public Attributes

char * mac
 
char * ip
 
int message_length
 
char * datetime
 
char * request
 
char * protocol
 
char * answer
 
char * info
 
unsigned char header_count
 
struct ssdp_header_structheaders
 
unsigned char custom_field_count
 
struct ssdp_custom_field_structcustom_fields
 

Detailed Description

SSDP message.

Definition at line 82 of file ssdp_message.h.

Member Data Documentation

char* ssdp_message_struct::answer

The answer to a SEARCH request (eg. OK 200, or other HTTP responses).

Definition at line 99 of file ssdp_message.h.

unsigned char ssdp_message_struct::custom_field_count

The number of custom fields in the list.

Definition at line 110 of file ssdp_message.h.

struct ssdp_custom_field_struct* ssdp_message_struct::custom_fields

The custom fields list.

Definition at line 112 of file ssdp_message.h.

char* ssdp_message_struct::datetime

The date and time when the message was received.

Definition at line 90 of file ssdp_message.h.

unsigned char ssdp_message_struct::header_count

The number of headers in the list (excluding custom fields)).

Definition at line 106 of file ssdp_message.h.

struct ssdp_header_struct* ssdp_message_struct::headers

The headers list.

Definition at line 108 of file ssdp_message.h.

char* ssdp_message_struct::info

The fetched extra info from the sender/node. This can be NULL if fetching is disabled.

Definition at line 104 of file ssdp_message.h.

char* ssdp_message_struct::ip

The IP address of the sender (node).

Definition at line 86 of file ssdp_message.h.

char* ssdp_message_struct::mac

The MAC address of the sender (node).

Definition at line 84 of file ssdp_message.h.

int ssdp_message_struct::message_length

The message length.

Definition at line 88 of file ssdp_message.h.

char* ssdp_message_struct::protocol

The protocol used to send the message (HTTP)

Definition at line 97 of file ssdp_message.h.

char* ssdp_message_struct::request

The request (message) type. Eg. a search, an announcement (hello, alive or bye) or a response to a search.

Definition at line 95 of file ssdp_message.h.


The documentation for this struct was generated from the following file: