|
a/libupnpp/control/cdircontent.cxx |
|
b/libupnpp/control/cdircontent.cxx |
|
... |
|
... |
12 |
* You should have received a copy of the GNU General Public License
|
12 |
* You should have received a copy of the GNU General Public License
|
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
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 |
#include "config.h"
|
|
|
18 |
|
17 |
|
19 |
#include <string>
|
18 |
#include "libupnpp/control/cdircontent.hxx"
|
20 |
#include <vector>
|
19 |
|
21 |
#include <iostream>
|
20 |
#include <expat.h> // for XML_GetCurrentByteIndex
|
22 |
#include <unordered_map>
|
21 |
#include <expat_external.h> // for XML_Char, XML_Size
|
|
|
22 |
#include <string.h> // for strcmp
|
|
|
23 |
|
|
|
24 |
#include <string> // for string, allocator, etc
|
|
|
25 |
#include <unordered_map> // for unordered_map, etc
|
|
|
26 |
#include <vector> // for vector
|
|
|
27 |
|
|
|
28 |
#include "libupnpp/expatmm.hxx" // for inputRefXMLParser
|
|
|
29 |
#include "libupnpp/log.hxx" // for LOGINF
|
|
|
30 |
#include "libupnpp/upnpp_p.hxx" // for trimstring
|
23 |
|
31 |
|
24 |
using namespace std;
|
32 |
using namespace std;
|
25 |
|
|
|
26 |
#include "libupnpp/expatmm.hxx"
|
|
|
27 |
#include "libupnpp/upnpp_p.hxx"
|
|
|
28 |
#include "libupnpp/control/cdircontent.hxx"
|
|
|
29 |
#include "libupnpp/log.hxx"
|
|
|
30 |
|
|
|
31 |
using namespace UPnPP;
|
33 |
using namespace UPnPP;
|
32 |
|
34 |
|
33 |
namespace UPnPClient {
|
35 |
namespace UPnPClient {
|
34 |
|
36 |
|
35 |
// An XML parser which builds directory contents from DIDL-lite input.
|
37 |
// An XML parser which builds directory contents from DIDL-lite input.
|