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

1.1       misho       1: /* $Id: upnpurns.h,v 1.1 2011/05/13 15:32:53 nanard Exp $ */
                      2: /* MiniUPnP project
                      3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
                      4:  * (c) 2006-2011 Thomas Bernard 
                      5:  * This software is subject to the conditions detailed
                      6:  * in the LICENCE file provided within the distribution */
                      7: 
                      8: #ifndef __UPNPURNS_H__
                      9: #define __UPNPURNS_H__
                     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>