Annotation of embedaddon/miniupnpd/miniupnpc/include/upnpdev.h, revision 1.1

1.1     ! misho       1: /* $Id: upnpdev.h,v 1.4 2021/08/21 09:45:01 nanard Exp $ */
        !             2: /* Project : miniupnp
        !             3:  * Web : http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
        !             4:  * Author : Thomas BERNARD
        !             5:  * copyright (c) 2005-2021 Thomas Bernard
        !             6:  * This software is subjet to the conditions detailed in the
        !             7:  * provided LICENSE file. */
        !             8: #ifndef UPNPDEV_H_INCLUDED
        !             9: #define UPNPDEV_H_INCLUDED
        !            10: 
        !            11: #include "miniupnpc_declspec.h"
        !            12: 
        !            13: #ifdef __cplusplus
        !            14: extern "C" {
        !            15: #endif
        !            16: 
        !            17: struct UPNPDev {
        !            18:        struct UPNPDev * pNext;
        !            19:        char * descURL;
        !            20:        char * st;
        !            21:        char * usn;
        !            22:        unsigned int scope_id;
        !            23: #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
        !            24:        /* C99 flexible array member */
        !            25:        char buffer[];
        !            26: #elif defined(__GNUC__)
        !            27:        char buffer[0];
        !            28: #else
        !            29:        /* Fallback to a hack */
        !            30:        char buffer[1];
        !            31: #endif
        !            32: };
        !            33: 
        !            34: /* freeUPNPDevlist()
        !            35:  * free list returned by upnpDiscover() */
        !            36: MINIUPNP_LIBSPEC void freeUPNPDevlist(struct UPNPDev * devlist);
        !            37: 
        !            38: 
        !            39: #ifdef __cplusplus
        !            40: }
        !            41: #endif
        !            42: 
        !            43: 
        !            44: #endif /* UPNPDEV_H_INCLUDED */

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