Electroneum
Toggle main menu visibility
Loading...
Searching...
No Matches
igd_desc_parse.h
Go to the documentation of this file.
1
/* $Id: igd_desc_parse.h,v 1.12 2014/11/17 17:19:13 nanard Exp $ */
2
/* Project : miniupnp
3
* http://miniupnp.free.fr/
4
* Author : Thomas Bernard
5
* Copyright (c) 2005-2014 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_INCLUDED
10
#define IGD_DESC_PARSE_H_INCLUDED
11
12
/* Structure to store the result of the parsing of UPnP
13
* descriptions of Internet Gateway Devices */
14
#define MINIUPNPC_URL_MAXSIZE (128)
15
struct
IGDdatas_service
{
16
char
controlurl
[
MINIUPNPC_URL_MAXSIZE
];
17
char
eventsuburl
[
MINIUPNPC_URL_MAXSIZE
];
18
char
scpdurl
[
MINIUPNPC_URL_MAXSIZE
];
19
char
servicetype
[
MINIUPNPC_URL_MAXSIZE
];
20
/*char devicetype[MINIUPNPC_URL_MAXSIZE];*/
21
};
22
23
struct
IGDdatas
{
24
char
cureltname
[
MINIUPNPC_URL_MAXSIZE
];
25
char
urlbase
[
MINIUPNPC_URL_MAXSIZE
];
26
char
presentationurl
[
MINIUPNPC_URL_MAXSIZE
];
27
int
level
;
28
/*int state;*/
29
/* "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" */
30
struct
IGDdatas_service
CIF
;
31
/* "urn:schemas-upnp-org:service:WANIPConnection:1"
32
* "urn:schemas-upnp-org:service:WANPPPConnection:1" */
33
struct
IGDdatas_service
first
;
34
/* if both WANIPConnection and WANPPPConnection are present */
35
struct
IGDdatas_service
second
;
36
/* "urn:schemas-upnp-org:service:WANIPv6FirewallControl:1" */
37
struct
IGDdatas_service
IPv6FC
;
38
/* tmp */
39
struct
IGDdatas_service
tmp
;
40
};
41
42
void
IGDstartelt
(
void
*,
const
char
*,
int
);
43
void
IGDendelt
(
void
*,
const
char
*,
int
);
44
void
IGDdata
(
void
*,
const
char
*,
int
);
45
#ifdef DEBUG
46
void
printIGD(
struct
IGDdatas
*);
47
#endif
/* DEBUG */
48
49
#endif
/* IGD_DESC_PARSE_H_INCLUDED */
IGDdata
void IGDdata(void *, const char *, int)
IGDstartelt
void IGDstartelt(void *, const char *, int)
MINIUPNPC_URL_MAXSIZE
#define MINIUPNPC_URL_MAXSIZE
Definition
igd_desc_parse.h:14
IGDendelt
void IGDendelt(void *, const char *, int)
MINIUPNPC_URL_MAXSIZE
#define MINIUPNPC_URL_MAXSIZE
Definition
igd_desc_parse.h:14
IGDdatas_service
Definition
igd_desc_parse.h:15
IGDdatas_service::controlurl
char controlurl[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:16
IGDdatas_service::eventsuburl
char eventsuburl[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:17
IGDdatas_service::scpdurl
char scpdurl[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:18
IGDdatas_service::servicetype
char servicetype[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:19
IGDdatas
Definition
igd_desc_parse.h:23
IGDdatas::level
int level
Definition
igd_desc_parse.h:27
IGDdatas::urlbase
char urlbase[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:25
IGDdatas::first
struct IGDdatas_service first
Definition
igd_desc_parse.h:33
IGDdatas::presentationurl
char presentationurl[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:26
IGDdatas::tmp
struct IGDdatas_service tmp
Definition
igd_desc_parse.h:39
IGDdatas::cureltname
char cureltname[MINIUPNPC_URL_MAXSIZE]
Definition
igd_desc_parse.h:24
IGDdatas::second
struct IGDdatas_service second
Definition
igd_desc_parse.h:35
IGDdatas::IPv6FC
struct IGDdatas_service IPv6FC
Definition
igd_desc_parse.h:37
IGDdatas::CIF
struct IGDdatas_service CIF
Definition
igd_desc_parse.h:30
external
miniupnp
miniupnpc-libevent
igd_desc_parse.h
Generated on
for Electroneum by
1.17.0