1 /* $Id: upnpreplyparse.h,v 1.19 2014/10/27 16:33:19 nanard Exp $ */
3 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4 * (c) 2006-2013 Thomas Bernard
5 * This software is subject to the conditions detailed
6 * in the LICENCE file provided within the distribution */
8 #ifndef UPNPREPLYPARSE_H_INCLUDED
9 #define UPNPREPLYPARSE_H_INCLUDED
16 struct NameValue
* l_next
;
21 struct NameValueParserData
{
22 struct NameValue
* l_head
;
25 int portListingLength
;
31 /* ParseNameValue() */
33 ParseNameValue(const char * buffer
, int bufsize
,
34 struct NameValueParserData
* data
);
36 /* ClearNameValueList() */
38 ClearNameValueList(struct NameValueParserData
* pdata
);
40 /* GetValueFromNameValueList() */
42 GetValueFromNameValueList(struct NameValueParserData
* pdata
,
46 /* GetValueFromNameValueListIgnoreNS() */
48 GetValueFromNameValueListIgnoreNS(struct NameValueParserData
* pdata
,
52 /* DisplayNameValueList() */
55 DisplayNameValueList(char * buffer
, int bufsize
);