Syncronize ssdplib in 1.6.x and 1.8.x, part 2.

This commit is contained in:
Marcelo Roberto Jimenez 2010-12-19 21:39:19 -02:00
parent 6af93e6ca6
commit 6d7702d3a7
4 changed files with 22 additions and 9 deletions

View File

@ -80,6 +80,7 @@ libupnp_la_SOURCES = \
# ssdp
libupnp_la_SOURCES += \
src/ssdp/ssdp_ResultData.h \
src/ssdp/ssdp_device.c \
src/ssdp/ssdp_ctrlpt.c \
src/ssdp/ssdp_server.c

View File

@ -136,14 +136,6 @@ typedef void (* SsdpFunPtr)(Event *);
typedef Event SsdpEvent ;
/*! Structure to contain Discovery response. */
typedef struct resultData
{
struct Upnp_Discovery param;
void *cookie;
Upnp_FunPtr ctrlpt_callback;
} ResultData;
typedef struct TData
{
int Mx;

View File

@ -0,0 +1,20 @@
#ifndef SSDP_RESULTDATA_H
#define SSDP_RESULTDATA_H
/*!
* \file
*
* \brief SSDPResultData object declararion.
*
* \author Marcelo Roberto Jimenez
*/
/*! Structure to contain Discovery response. */
typedef struct resultData
{
struct Upnp_Discovery param;
void *cookie;
Upnp_FunPtr ctrlpt_callback;
} ResultData;
#endif /* SSDP_RESULTDATA_H */

View File

@ -46,7 +46,7 @@
#include "httpparser.h"
#include "httpreadwrite.h"
/*#include "ssdp_ResultData.h"*/
#include "ssdp_ResultData.h"
#include "ssdplib.h"
#include "statcodes.h"
#include "unixutil.h"