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

1.1     ! misho       1: /* $Id: getifaddr.h,v 1.4 2007/02/07 22:21:49 nanard Exp $ */
        !             2: /* MiniUPnP project
        !             3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
        !             4:  * (c) 2006 Thomas Bernard 
        !             5:  * This software is subject to the conditions detailed
        !             6:  * in the LICENCE file provided within the distribution */
        !             7: 
        !             8: #ifndef __GETIFADDR_H__
        !             9: #define __GETIFADDR_H__
        !            10: 
        !            11: /* getifaddr()
        !            12:  * take a network interface name and write the
        !            13:  * ip v4 address as text in the buffer
        !            14:  * returns: 0 success, -1 failure */
        !            15: int
        !            16: getifaddr(const char * ifname, char * buf, int len);
        !            17: 
        !            18: #endif
        !            19: 

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