diff options
author | Justin Maggard <jmaggard@users.sourceforge.net> | 2008-10-23 21:30:45 +0400 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforge.net> | 2008-10-23 21:30:45 +0400 |
commit | 47e96c70099ee91537bc8ed34c7cf7bb35be4558 (patch) | |
tree | 10317cc1b193c53318d7830700987c2f1be48acf /minissdp.h |
Initial revision
Diffstat (limited to 'minissdp.h')
-rw-r--r-- | minissdp.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/minissdp.h b/minissdp.h new file mode 100644 index 0000000..d56fe0e --- /dev/null +++ b/minissdp.h @@ -0,0 +1,43 @@ +/* MiniUPnP project + * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ + * (c) 2006-2007 Thomas Bernard + * This software is subject to the conditions detailed + * in the LICENCE file provided within the distribution */ +#ifndef __MINISSDP_H__ +#define __MINISSDP_H__ + +/*#include "miniupnpdtypes.h"*/ + +int +OpenAndConfSSDPReceiveSocket(); +/* OpenAndConfSSDPReceiveSocket(int n_lan_addr, struct lan_addr_s * lan_addr);*/ + +/*int +OpenAndConfSSDPNotifySocket(const char * addr);*/ + +int +OpenAndConfSSDPNotifySockets(int * sockets); +/*OpenAndConfSSDPNotifySockets(int * sockets, + struct lan_addr_s * lan_addr, int n_lan_addr);*/ + +/*void +SendSSDPNotifies(int s, const char * host, unsigned short port, + unsigned int lifetime);*/ +void +SendSSDPNotifies2(int * sockets, + unsigned short port, + unsigned int lifetime); +/*SendSSDPNotifies2(int * sockets, struct lan_addr_s * lan_addr, int n_lan_addr, + unsigned short port, + unsigned int lifetime);*/ + +void +ProcessSSDPRequest(int s, unsigned short port); +/*ProcessSSDPRequest(int s, struct lan_addr_s * lan_addr, int n_lan_addr, + unsigned short port);*/ + +int +SendSSDPGoodbye(int * sockets, int n); + +#endif + |