Removes C++ style comments.
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
|
||||
#ifndef SSDPLIB_H
|
||||
#define SSDPLIB_H
|
||||
|
||||
@@ -113,11 +112,8 @@ typedef enum SsdpCmdType{
|
||||
#define E_SOCKET -7
|
||||
#define RQST_TIMEOUT 20
|
||||
|
||||
|
||||
|
||||
/* Structure to store the SSDP information */
|
||||
typedef struct SsdpEventStruct
|
||||
{
|
||||
/*! Structure to store the SSDP information */
|
||||
typedef struct SsdpEventStruct {
|
||||
enum SsdpCmdType Cmd;
|
||||
enum SsdpSearchType RequestType;
|
||||
int ErrCode;
|
||||
@@ -125,7 +121,8 @@ typedef struct SsdpEventStruct
|
||||
int Mx;
|
||||
char UDN[LINE_SIZE];
|
||||
char DeviceType[LINE_SIZE];
|
||||
char ServiceType[LINE_SIZE]; //NT or ST
|
||||
/* NT or ST */
|
||||
char ServiceType[LINE_SIZE];
|
||||
char Location[LINE_SIZE];
|
||||
char HostAddr[LINE_SIZE];
|
||||
char Os[LINE_SIZE];
|
||||
@@ -139,13 +136,13 @@ typedef void (* SsdpFunPtr)(Event *);
|
||||
|
||||
typedef Event SsdpEvent ;
|
||||
|
||||
// Structure to contain Discovery response
|
||||
/*! Structure to contain Discovery response. */
|
||||
typedef struct resultData
|
||||
{
|
||||
struct Upnp_Discovery param;
|
||||
void *cookie;
|
||||
Upnp_FunPtr ctrlpt_callback;
|
||||
}ResultData;
|
||||
} ResultData;
|
||||
|
||||
|
||||
typedef struct TData
|
||||
@@ -155,7 +152,7 @@ typedef struct TData
|
||||
char * Data;
|
||||
struct sockaddr_storage DestAddr;
|
||||
|
||||
}ThreadData;
|
||||
} ThreadData;
|
||||
|
||||
typedef struct ssdpsearchreply
|
||||
{
|
||||
@@ -164,7 +161,7 @@ typedef struct ssdpsearchreply
|
||||
struct sockaddr_storage dest_addr;
|
||||
SsdpEvent event;
|
||||
|
||||
}SsdpSearchReply;
|
||||
} SsdpSearchReply;
|
||||
|
||||
typedef struct ssdpsearcharg
|
||||
{
|
||||
|
Reference in New Issue
Block a user