File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / minissdp.h
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 00:32:35 2013 UTC (10 years, 10 months ago) by misho
Branches: miniupnpd, elwix, MAIN
CVS tags: v1_8p0, v1_8, HEAD
1.8

    1: /* $Id: minissdp.h,v 1.1.1.3 2013/07/22 00:32:35 misho 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
    9: 
   10: #include "miniupnpdtypes.h"
   11: 
   12: int
   13: OpenAndConfSSDPReceiveSocket(int ipv6);
   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: 
   36: void
   37: ProcessSSDPData(int s, const char *bufr, int n,
   38:                 const struct sockaddr * sendername, unsigned short port);
   39: 
   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>