|
a/libupnpp/upnpplib.cxx |
|
b/libupnpp/upnpplib.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.h>
|
18 |
#include "upnpplib.hxx"
|
20 |
#include <ctype.h>
|
|
|
21 |
|
19 |
|
22 |
#include <string>
|
20 |
#include <ctype.h> // for toupper
|
23 |
#include <iostream>
|
21 |
#include <stdio.h> // for sprintf
|
24 |
#include <sstream>
|
22 |
#include <string.h> // for strncpy
|
25 |
#include <map>
|
23 |
#include <time.h> // for timespec
|
26 |
#include <vector>
|
24 |
|
27 |
#include <set>
|
25 |
#include <upnp/ixml.h> // for ixmlRelaxParser
|
|
|
26 |
#include <upnp/upnptools.h> // for UpnpGetErrorMessage
|
|
|
27 |
|
|
|
28 |
#include <iostream> // for operator<<, basic_ostream, etc
|
|
|
29 |
#include <map> // for map, _Rb_tree_iterator, etc
|
|
|
30 |
#include <set> // for set
|
|
|
31 |
#include <sstream> // for ostringstream
|
|
|
32 |
#include <string> // for string, basic_string, etc
|
|
|
33 |
#include <utility> // for pair
|
|
|
34 |
#include <vector> // for vector
|
|
|
35 |
|
|
|
36 |
#include "config.h" // for HAVE_UPNPSETLOGLEVEL
|
|
|
37 |
#include "getsyshwaddr.h" // for getsyshwaddr
|
|
|
38 |
|
|
|
39 |
#include "libupnpp/ptmutex.hxx" // for PTMutexLocker
|
|
|
40 |
|
|
|
41 |
#include "log.hxx" // for LOGERR, LOGDEB1, LOGDEB, etc
|
|
|
42 |
#include "md5.hxx" // for MD5String
|
|
|
43 |
|
28 |
using namespace std;
|
44 |
using namespace std;
|
29 |
|
|
|
30 |
#include <upnp/ixml.h>
|
|
|
31 |
|
|
|
32 |
#include "upnpp_p.hxx"
|
|
|
33 |
#include "upnpplib.hxx"
|
|
|
34 |
extern "C" {
|
|
|
35 |
#include "getsyshwaddr.h"
|
|
|
36 |
}
|
|
|
37 |
#include "md5.hxx"
|
|
|
38 |
#include "log.hxx"
|
|
|
39 |
#include "upnpputils.hxx"
|
|
|
40 |
|
45 |
|
41 |
namespace UPnPP {
|
46 |
namespace UPnPP {
|
42 |
|
47 |
|
43 |
static LibUPnP *theLib;
|
48 |
static LibUPnP *theLib;
|
44 |
|
49 |
|