Annotation of embedaddon/miniupnpd/minissdp.h, revision 1.1.1.3
1.1.1.3 ! misho 1: /* $Id: minissdp.h,v 1.11 2012/09/27 16:00:44 nanard Exp $ */
1.1 misho 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 */
1.1.1.3 ! misho 7: #ifndef MINISSDP_H_INCLUDED
! 8: #define MINISSDP_H_INCLUDED
1.1 misho 9:
1.1.1.2 misho 10: #include "miniupnpdtypes.h"
1.1 misho 11:
12: int
1.1.1.2 misho 13: OpenAndConfSSDPReceiveSocket(int ipv6);
1.1 misho 14:
15: int
16: OpenAndConfSSDPNotifySockets(int * sockets);
17: /*OpenAndConfSSDPNotifySockets(int * sockets,
18: struct lan_addr_s * lan_addr, int n_lan_addr);*/
19:
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);*/
30:
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);*/
35:
1.1.1.2 misho 36: void
37: ProcessSSDPData(int s, const char *bufr, int n,
38: const struct sockaddr * sendername, unsigned short port);
39:
1.1 misho 40: int
41: SendSSDPGoodbye(int * sockets, int n);
42:
43: int
44: SubmitServicesToMiniSSDPD(const char * host, unsigned short port);
45:
46: #endif
47:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>