File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpc / include / upnpdev.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Sep 27 11:21:37 2023 UTC (12 months ago) by misho
Branches: miniupnpc, MAIN
CVS tags: v2_2_5p0, HEAD
Version 2.2.5p0

    1: /* $Id: upnpdev.h,v 1.1.1.1 2023/09/27 11:21:37 misho 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>