source: trunk/third-party/miniupnp/igd_desc_parse.h @ 3731

Last change on this file since 3731 was 3731, checked in by charles, 15 years ago

use Thomas Bernard's miniupnp library instead of rolling our own.

File size: 1.2 KB
Line 
1/* $Id: igd_desc_parse.h,v 1.5 2007/04/11 15:21:09 nanard Exp $ */
2/* Project : miniupnp
3 * http://miniupnp.free.fr/
4 * Author : Thomas Bernard
5 * Copyright (c) 2005 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)
15struct IGDdatas {
16        char cureltname[MINIUPNPC_URL_MAXSIZE];
17        char urlbase[MINIUPNPC_URL_MAXSIZE];
18        int level;
19        int state;
20        char controlurl_CIF[MINIUPNPC_URL_MAXSIZE];
21        char eventsuburl_CIF[MINIUPNPC_URL_MAXSIZE];
22        char scpdurl_CIF[MINIUPNPC_URL_MAXSIZE];
23        char servicetype_CIF[MINIUPNPC_URL_MAXSIZE];
24        char devicetype_CIF[MINIUPNPC_URL_MAXSIZE];
25        char controlurl[MINIUPNPC_URL_MAXSIZE];
26        char eventsuburl[MINIUPNPC_URL_MAXSIZE];
27        char scpdurl[MINIUPNPC_URL_MAXSIZE];
28        char servicetype[MINIUPNPC_URL_MAXSIZE];
29        char devicetype[MINIUPNPC_URL_MAXSIZE];
30};
31
32void IGDstartelt(void *, const char *, int);
33void IGDendelt(void *, const char *, int);
34void IGDdata(void *, const char *, int);
35void printIGD(struct IGDdatas *);
36
37#endif
38
Note: See TracBrowser for help on using the repository browser.