libUPnP 1.14.19
|
#include "config.h"
#include "upnputil.h"
#include "SSDPResultData.h"
#include "SSDPResultDataCallback.h"
#include "ThreadPool.h"
#include "UpnpInet.h"
#include "httpparser.h"
#include "httpreadwrite.h"
#include "ssdplib.h"
#include "statcodes.h"
#include "unixutil.h"
#include "upnpapi.h"
#include <stdio.h>
#include "posix_overwrites.h"
Functions | |
static void | send_search_result (void *data) |
Sends a callback to the control point application with a SEARCH result. | |
static int | CreateClientRequestPacket (char *RqstBuf, size_t RqstBufSize, int Mx, char *SearchTarget, int AddressFamily) |
Creates a HTTP search request packet depending on the input parameter. | |
static void | searchExpired (void *arg) |
SSDP Control Point Functions | |
void | ssdp_handle_ctrlpt_msg (http_message_t *hmsg, struct sockaddr_storage *dest_addr, int timeout) |
This function handles the ssdp messages from the devices. These messages includes the search replies, advertisement of device coming alive and bye byes. | |
int | SearchByTarget (int Hnd, int Mx, char *St, void *Cookie) |
Creates and send the search request for a specific URL. | |