Annotation of embedaddon/miniupnpd/ifacewatcher.h, revision 1.1

1.1     ! misho       1: /* $Id: ifacewatcher.h,v 1.2 2011/05/20 09:42:49 nanard Exp $ */
        !             2: /* MiniUPnP project
        !             3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
        !             4:  * (c) 2006-2009 Thomas Bernard
        !             5:  *
        !             6:  * ifacewatcher.h
        !             7:  *
        !             8:  * This file implements dynamic serving of new network interfaces
        !             9:  * which weren't available during daemon start. It also takes care
        !            10:  * of interfaces which become unavailable.
        !            11:  *
        !            12:  * Copyright (c) 2011, Alexey Osipov <simba@lerlan.ru        !            13:  * All rights reserved.
        !            14:  *
        !            15:  * Redistribution and use in source and binary forms, with or without
        !            16:  * modification, are permitted provided that the following conditions are met:
        !            17:  *
        !            18:  *    * Redistributions of source code must retain the above copyright notice,
        !            19:  *      this list of conditions and the following disclaimer.
        !            20:  *    * Redistributions in binary form must reproduce the above copyright notice,
        !            21:  *      this list of conditions and the following disclaimer in the documentation
        !            22:  *      and/or other materials provided with the distribution.
        !            23:  *    * The name of the author may not be used to endorse or promote products
        !            24:  *      derived from this software without specific prior written permission.
        !            25:  *
        !            26:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        !            27:  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        !            28:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
        !            29:  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
        !            30:  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
        !            31:  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
        !            32:  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
        !            33:  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
        !            34:  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
        !            35:  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
        !            36:  * POSSIBILITY OF SUCH DAMAGE. */
        !            37: 
        !            38: #ifndef __IFACEWATCHER_H__
        !            39: #define __IFACEWATCHER_H__
        !            40: 
        !            41: #include "config.h"
        !            42: 
        !            43: #ifdef USE_IFACEWATCHER
        !            44: int OpenAndConfInterfaceWatchSocket(void);
        !            45: void ProcessInterfaceWatchNotify(int s);
        !            46: #endif
        !            47: 
        !            48: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>