Vidalia 0.3.1
igd_desc_parse.h
Go to the documentation of this file.
1/* $Id: igd_desc_parse.h,v 1.7 2010/04/05 20:36:59 nanard Exp $ */
2/* Project : miniupnp
3 * http://miniupnp.free.fr/
4 * Author : Thomas Bernard
5 * Copyright (c) 2005-2010 Thomas Bernard
6 * This software is subject to the conditions detailed in the
7 * LICENCE file provided in this distribution.
8 * */
9#ifndef __IGD_DESC_PARSE_H__
10#define __IGD_DESC_PARSE_H__
11
12/* Structure to store the result of the parsing of UPnP
13 * descriptions of Internet Gateway Devices */
14#define MINIUPNPC_URL_MAXSIZE (128)
20 /*char devicetype[MINIUPNPC_URL_MAXSIZE];*/
21};
22
23struct IGDdatas {
26 int level;
27 /*int state;*/
28 /* "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" */
30 /* "urn:schemas-upnp-org:service:WANIPConnection:1"
31 * "urn:schemas-upnp-org:service:WANPPPConnection:1" */
33 /* if both WANIPConnection and WANPPPConnection are present */
35 /* tmp */
37};
38
39void IGDstartelt(void *, const char *, int);
40void IGDendelt(void *, const char *, int);
41void IGDdata(void *, const char *, int);
42void printIGD(struct IGDdatas *);
43
44#endif
45
void printIGD(struct IGDdatas *)
void IGDdata(void *, const char *, int)
void IGDstartelt(void *, const char *, int)
#define MINIUPNPC_URL_MAXSIZE
void IGDendelt(void *, const char *, int)
char scpdurl[MINIUPNPC_URL_MAXSIZE]
char eventsuburl[MINIUPNPC_URL_MAXSIZE]
char servicetype[MINIUPNPC_URL_MAXSIZE]
char controlurl[MINIUPNPC_URL_MAXSIZE]
struct IGDdatas_service first
struct IGDdatas_service tmp
char urlbase[MINIUPNPC_URL_MAXSIZE]
char cureltname[MINIUPNPC_URL_MAXSIZE]
struct IGDdatas_service second
struct IGDdatas_service CIF