File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / minissdp.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:16:02 2012 UTC (12 years, 4 months ago) by misho
Branches: miniupnpd, elwix, MAIN
CVS tags: v1_5, HEAD
miniupnpd

    1: /* $Id: minissdp.h,v 1.1.1.1 2012/02/21 23:16:02 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__
    8: #define __MINISSDP_H__
    9: 
   10: /*#include "miniupnpdtypes.h"*/
   11: 
   12: int
   13: OpenAndConfSSDPReceiveSocket();
   14: /* OpenAndConfSSDPReceiveSocket(int n_lan_addr, struct lan_addr_s * lan_addr);*/
   15: 
   16: /*int
   17: OpenAndConfSSDPNotifySocket(const char * addr);*/
   18: 
   19: int
   20: OpenAndConfSSDPNotifySockets(int * sockets);
   21: /*OpenAndConfSSDPNotifySockets(int * sockets,
   22:                              struct lan_addr_s * lan_addr, int n_lan_addr);*/
   23: 
   24: /*void
   25: SendSSDPNotifies(int s, const char * host, unsigned short port,
   26:                  unsigned int lifetime);*/
   27: void
   28: SendSSDPNotifies2(int * sockets,
   29:                   unsigned short port,
   30:                   unsigned int lifetime);
   31: /*SendSSDPNotifies2(int * sockets, struct lan_addr_s * lan_addr, int n_lan_addr,
   32:                   unsigned short port,
   33:                   unsigned int lifetime);*/
   34: 
   35: void
   36: ProcessSSDPRequest(int s, unsigned short port);
   37: /*ProcessSSDPRequest(int s, struct lan_addr_s * lan_addr, int n_lan_addr,
   38:                    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>