igd_desc_parse.h

Go to the documentation of this file.
00001 /* $Id: igd_desc_parse.h,v 1.5 2007/04/11 15:21:09 nanard Exp $ */
00002 /* Project : miniupnp
00003  * http://miniupnp.free.fr/
00004  * Author : Thomas Bernard
00005  * Copyright (c) 2005 Thomas Bernard
00006  * This software is subject to the conditions detailed in the
00007  * LICENCE file provided in this distribution.
00008  * */
00009 #ifndef __IGD_DESC_PARSE_H__
00010 #define __IGD_DESC_PARSE_H__
00011 
00012 /* Structure to store the result of the parsing of UPnP
00013  * descriptions of Internet Gateway Devices */
00014 #define MINIUPNPC_URL_MAXSIZE (128)
00015 struct IGDdatas {
00016         char cureltname[MINIUPNPC_URL_MAXSIZE];
00017         char urlbase[MINIUPNPC_URL_MAXSIZE];
00018         int level;
00019         int state;
00020         char controlurl_CIF[MINIUPNPC_URL_MAXSIZE];
00021         char eventsuburl_CIF[MINIUPNPC_URL_MAXSIZE];
00022         char scpdurl_CIF[MINIUPNPC_URL_MAXSIZE];
00023         char servicetype_CIF[MINIUPNPC_URL_MAXSIZE];
00024         char devicetype_CIF[MINIUPNPC_URL_MAXSIZE];
00025         char controlurl[MINIUPNPC_URL_MAXSIZE];
00026         char eventsuburl[MINIUPNPC_URL_MAXSIZE];
00027         char scpdurl[MINIUPNPC_URL_MAXSIZE];
00028         char servicetype[MINIUPNPC_URL_MAXSIZE];
00029         char devicetype[MINIUPNPC_URL_MAXSIZE];
00030 };
00031 
00032 void IGDstartelt(void *, const char *, int);
00033 void IGDendelt(void *, const char *, int);
00034 void IGDdata(void *, const char *, int);
00035 void printIGD(struct IGDdatas *);
00036 
00037 #endif
00038 

Generated on Wed Nov 26 21:02:42 2008 for Vidalia by  doxygen 1.5.7.1