|
a/upmpd/conman.cxx |
|
b/upmpd/conman.cxx |
|
... |
|
... |
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 |
|
17 |
|
18 |
#include <stdio.h>
|
18 |
#include "conman.hxx"
|
19 |
#include <stdlib.h>
|
|
|
20 |
#include <unistd.h>
|
|
|
21 |
#include <sys/types.h>
|
|
|
22 |
#include <pwd.h>
|
|
|
23 |
|
19 |
|
24 |
#include <string>
|
20 |
#include <upnp/upnp.h> // for UPNP_E_SUCCESS, etc
|
25 |
#include <iostream>
|
21 |
|
26 |
#include <sstream>
|
22 |
#include <functional> // for _Bind, bind, _1, _2
|
27 |
#include <vector>
|
23 |
#include <iostream> // for endl
|
28 |
#include <functional>
|
24 |
#include <map> // for _Rb_tree_const_iterator, etc
|
29 |
#include <set>
|
25 |
#include <string> // for string, basic_string
|
|
|
26 |
#include <utility> // for pair
|
|
|
27 |
#include <vector> // for vector
|
|
|
28 |
|
|
|
29 |
#include "libupnpp/log.hxx" // for LOGDEB
|
|
|
30 |
#include "libupnpp/soaphelp.hxx" // for SoapData, SoapArgs
|
|
|
31 |
|
|
|
32 |
#include "upmpd.hxx" // for UpMpd
|
|
|
33 |
|
30 |
using namespace std;
|
34 |
using namespace std;
|
31 |
using namespace std::placeholders;
|
35 |
using namespace std::placeholders;
|
32 |
|
|
|
33 |
#include "libupnpp/upnpplib.hxx"
|
|
|
34 |
#include "libupnpp/soaphelp.hxx"
|
|
|
35 |
#include "libupnpp/device/device.hxx"
|
|
|
36 |
#include "libupnpp/log.hxx"
|
|
|
37 |
|
|
|
38 |
#include "upmpd.hxx"
|
|
|
39 |
#include "conman.hxx"
|
|
|
40 |
#include "mpdcli.hxx"
|
|
|
41 |
#include "upmpdutils.hxx"
|
|
|
42 |
|
|
|
43 |
using namespace UPnPP;
|
36 |
using namespace UPnPP;
|
44 |
|
37 |
|
45 |
static const string sTpCM("urn:schemas-upnp-org:service:ConnectionManager:1");
|
38 |
static const string sTpCM("urn:schemas-upnp-org:service:ConnectionManager:1");
|
46 |
static const string sIdCM("urn:upnp-org:serviceId:ConnectionManager");
|
39 |
static const string sIdCM("urn:upnp-org:serviceId:ConnectionManager");
|
47 |
|
40 |
|