Annotation of embedaddon/miniupnpd/upnpurns.h, revision 1.1.1.2

1.1.1.2 ! misho       1: /* $Id: upnpurns.h,v 1.3 2012/09/27 15:46:18 nanard Exp $ */
1.1       misho       2: /* MiniUPnP project
                      3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
1.1.1.2 ! misho       4:  * (c) 2006-2011 Thomas Bernard
1.1       misho       5:  * This software is subject to the conditions detailed
                      6:  * in the LICENCE file provided within the distribution */
                      7: 
1.1.1.2 ! misho       8: #ifndef UPNPURNS_H_INCLUDED
        !             9: #define UPNPURNS_H_INCLUDED
1.1       misho      10: 
                     11: #include "config.h"
                     12: 
                     13: #ifdef IGD_V2
                     14: /* IGD v2 */
                     15: #define DEVICE_TYPE_IGD     "urn:schemas-upnp-org:device:InternetGatewayDevice:2"
                     16: #define DEVICE_TYPE_WAN     "urn:schemas-upnp-org:device:WANDevice:2"
                     17: #define DEVICE_TYPE_WANC    "urn:schemas-upnp-org:device:WANConnectionDevice:2"
                     18: #define SERVICE_TYPE_WANIPC "urn:schemas-upnp-org:service:WANIPConnection:2"
                     19: #define SERVICE_ID_WANIPC   "urn:upnp-org:serviceId:WANIPConn1"
                     20: #else
                     21: /* IGD v1 */
                     22: #define DEVICE_TYPE_IGD     "urn:schemas-upnp-org:device:InternetGatewayDevice:1"
                     23: #define DEVICE_TYPE_WAN     "urn:schemas-upnp-org:device:WANDevice:1"
                     24: #define DEVICE_TYPE_WANC    "urn:schemas-upnp-org:device:WANConnectionDevice:1"
                     25: #define SERVICE_TYPE_WANIPC "urn:schemas-upnp-org:service:WANIPConnection:1"
                     26: #define SERVICE_ID_WANIPC   "urn:upnp-org:serviceId:WANIPConn1"
                     27: #endif
                     28: 
                     29: #endif
                     30: 

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