Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / miniupnpd / minissdp.h
blob6a41e42ecfab40579449550df37ce4d72b3eb297
1 /* $Id: minissdp.h,v 1.11 2012/09/27 16:00:44 nanard Exp $ */
2 /* MiniUPnP project
3 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4 * (c) 2006-2007 Thomas Bernard
5 * This software is subject to the conditions detailed
6 * in the LICENCE file provided within the distribution */
7 #ifndef MINISSDP_H_INCLUDED
8 #define MINISSDP_H_INCLUDED
10 #include "miniupnpdtypes.h"
12 int
13 OpenAndConfSSDPReceiveSocket(int ipv6);
15 int
16 OpenAndConfSSDPNotifySockets(int * sockets);
17 /*OpenAndConfSSDPNotifySockets(int * sockets,
18 struct lan_addr_s * lan_addr, int n_lan_addr);*/
20 /*void
21 SendSSDPNotifies(int s, const char * host, unsigned short port,
22 unsigned int lifetime);*/
23 void
24 SendSSDPNotifies2(int * sockets,
25 unsigned short port,
26 unsigned int lifetime);
27 /*SendSSDPNotifies2(int * sockets, struct lan_addr_s * lan_addr, int n_lan_addr,
28 unsigned short port,
29 unsigned int lifetime);*/
31 void
32 ProcessSSDPRequest(int s, unsigned short port);
33 /*ProcessSSDPRequest(int s, struct lan_addr_s * lan_addr, int n_lan_addr,
34 unsigned short port);*/
36 void
37 ProcessSSDPData(int s, const char *bufr, int n,
38 const struct sockaddr * sendername, unsigned short port);
40 int
41 SendSSDPGoodbye(int * sockets, int n);
43 int
44 SubmitServicesToMiniSSDPD(const char * host, unsigned short port);
46 #endif