TOR: fix compilation
[tomato.git] / release / src / router / miniupnpd / upnpurns.h
blobc71c5c055afb939b47c647f8c709a511d09d8fd1
1 /* $Id: upnpurns.h,v 1.3 2012/09/27 15:46:18 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 */
8 #ifndef UPNPURNS_H_INCLUDED
9 #define UPNPURNS_H_INCLUDED
11 #include "config.h"
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
29 #endif