|
a/libupnpp/control/description.cxx |
|
b/libupnpp/control/description.cxx |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
// An XML parser which constructs an UPnP device object from the
|
17 |
// An XML parser which constructs an UPnP device object from the
|
18 |
// device descriptor
|
18 |
// device descriptor
|
19 |
#include "config.h"
|
19 |
//#include "config.h"
|
20 |
|
20 |
|
21 |
#include <stdlib.h>
|
|
|
22 |
#include <errno.h>
|
|
|
23 |
|
|
|
24 |
#include <iostream>
|
|
|
25 |
#include <map>
|
|
|
26 |
using namespace std;
|
|
|
27 |
|
|
|
28 |
#include "libupnpp/upnpp_p.hxx"
|
|
|
29 |
#include "libupnpp/expatmm.hxx"
|
|
|
30 |
#include "description.hxx"
|
21 |
#include "description.hxx"
|
31 |
|
22 |
|
|
|
23 |
#include <expat_external.h> // for XML_Char
|
|
|
24 |
#include <string.h> // for strcmp
|
|
|
25 |
|
|
|
26 |
#include "libupnpp/expatmm.hxx" // for inputRefXMLParser
|
|
|
27 |
#include "libupnpp/upnpp_p.hxx" // for baseurl, trimstring
|
|
|
28 |
|
|
|
29 |
using namespace std;
|
32 |
using namespace UPnPP;
|
30 |
using namespace UPnPP;
|
33 |
|
31 |
|
34 |
namespace UPnPClient {
|
32 |
namespace UPnPClient {
|
35 |
|
33 |
|
36 |
class UPnPDeviceParser : public inputRefXMLParser {
|
34 |
class UPnPDeviceParser : public inputRefXMLParser {
|