version 1.1, 2012/02/21 23:16:02
|
version 1.1.1.3, 2013/07/22 00:32:35
|
Line 4
|
Line 4
|
* (c) 2006-2007 Thomas Bernard |
* (c) 2006-2007 Thomas Bernard |
* This software is subject to the conditions detailed |
* This software is subject to the conditions detailed |
* in the LICENCE file provided within the distribution */ |
* in the LICENCE file provided within the distribution */ |
#ifndef __MINISSDP_H__ | #ifndef MINISSDP_H_INCLUDED |
#define __MINISSDP_H__ | #define MINISSDP_H_INCLUDED |
|
|
/*#include "miniupnpdtypes.h"*/ | #include "miniupnpdtypes.h" |
|
|
int |
int |
OpenAndConfSSDPReceiveSocket(); | OpenAndConfSSDPReceiveSocket(int ipv6); |
/* OpenAndConfSSDPReceiveSocket(int n_lan_addr, struct lan_addr_s * lan_addr);*/ | |
|
|
/*int |
|
OpenAndConfSSDPNotifySocket(const char * addr);*/ |
|
|
|
int |
int |
OpenAndConfSSDPNotifySockets(int * sockets); |
OpenAndConfSSDPNotifySockets(int * sockets); |
/*OpenAndConfSSDPNotifySockets(int * sockets, |
/*OpenAndConfSSDPNotifySockets(int * sockets, |
Line 36 void
|
Line 32 void
|
ProcessSSDPRequest(int s, unsigned short port); |
ProcessSSDPRequest(int s, unsigned short port); |
/*ProcessSSDPRequest(int s, struct lan_addr_s * lan_addr, int n_lan_addr, |
/*ProcessSSDPRequest(int s, struct lan_addr_s * lan_addr, int n_lan_addr, |
unsigned short port);*/ |
unsigned short port);*/ |
|
|
|
void |
|
ProcessSSDPData(int s, const char *bufr, int n, |
|
const struct sockaddr * sendername, unsigned short port); |
|
|
int |
int |
SendSSDPGoodbye(int * sockets, int n); |
SendSSDPGoodbye(int * sockets, int n); |