UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
anonymous_namespace{ssdp_ctrlpt.cpp} Namespace Reference

Functions

Scope restricted to file
void send_search_result (void *data)
 Sends a callback to the control point application with a SEARCH result.
 
int CreateClientRequestPacket (char *RqstBuf, size_t RqstBufSize, int Mx, char *SearchTarget, int AddressFamily)
 Creates a HTTP search request packet depending on the input parameter.
 
int CreateClientRequestPacketUlaGua (char *RqstBuf, size_t RqstBufSize, int Mx, char *SearchTarget, int AddressFamily)
 Creates a HTTP search request packet for IPv6 UlaGua depending on the input parameter.
 
void searchExpired (void *arg)
 Remove search Target from list and call client back.
 

Function Documentation

◆ send_search_result()

void anonymous_namespace{ssdp_ctrlpt.cpp}::send_search_result ( void *  data)
inline

Sends a callback to the control point application with a SEARCH result.

Parameters
[in]dataSearch reply from the device.

Definition at line 68 of file ssdp_ctrlpt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateClientRequestPacket()

int anonymous_namespace{ssdp_ctrlpt.cpp}::CreateClientRequestPacket ( char *  RqstBuf,
size_t  RqstBufSize,
int  Mx,
char *  SearchTarget,
int  AddressFamily 
)

Creates a HTTP search request packet depending on the input parameter.

Returns
On success: UPNP_E_SUCCESS
On error:
  • UPNP_E_INTERNAL_ERROR
  • UPNP_E_INVALID_ARGUMENT
  • UPNP_E_BUFFER_TOO_SMALL
Parameters
[in,out]RqstBufOutput string in HTTP format.
[in]RqstBufSizeRqstBuf size.
[in]MxSearch Target.
[in]SearchTargetNumber of seconds to wait to collect all the responses.
[in]AddressFamilysearch address family.

Definition at line 88 of file ssdp_ctrlpt.cpp.

+ Here is the caller graph for this function:

◆ CreateClientRequestPacketUlaGua()

int anonymous_namespace{ssdp_ctrlpt.cpp}::CreateClientRequestPacketUlaGua ( char *  RqstBuf,
size_t  RqstBufSize,
int  Mx,
char *  SearchTarget,
int  AddressFamily 
)
inline

Creates a HTTP search request packet for IPv6 UlaGua depending on the input parameter.

Returns
On success: UPNP_E_SUCCESS
On error:
  • UPNP_E_INTERNAL_ERROR
  • UPNP_E_INVALID_ARGUMENT
  • UPNP_E_BUFFER_TOO_SMALL
Parameters
[in,out]RqstBufOutput string in HTTP format.
[in]RqstBufSizeRqstBuf size.
[in]MxSearch Target.
[in]SearchTargetNumber of seconds to wait to collect all the responses.
[in]AddressFamilysearch address family.

Definition at line 168 of file ssdp_ctrlpt.cpp.

+ Here is the caller graph for this function:

◆ searchExpired()

void anonymous_namespace{ssdp_ctrlpt.cpp}::searchExpired ( void *  arg)
inline

Remove search Target from list and call client back.

Parameters
[in]argSearch target

Definition at line 238 of file ssdp_ctrlpt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: