summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.h
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2009-10-09 15:57:06 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2009-10-09 15:57:06 +0200
commit05af2c6ad9e43bf530435694a7f7e81d6b22fe3c (patch)
tree00e2d3899b3f02e7184f22266158f33f1923858a /lib/Plugins/Bugzilla.h
parent359b22273b49d1a512eb3c27080405b532c93d4d (diff)
downloadabrt-05af2c6ad9e43bf530435694a7f7e81d6b22fe3c.tar.gz
abrt-05af2c6ad9e43bf530435694a7f7e81d6b22fe3c.tar.xz
abrt-05af2c6ad9e43bf530435694a7f7e81d6b22fe3c.zip
start rewriting login and check uuid from xmlrpc++ to xmlrpc
Diffstat (limited to 'lib/Plugins/Bugzilla.h')
-rw-r--r--lib/Plugins/Bugzilla.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/lib/Plugins/Bugzilla.h b/lib/Plugins/Bugzilla.h
index f6a8976f..5a659e5c 100644
--- a/lib/Plugins/Bugzilla.h
+++ b/lib/Plugins/Bugzilla.h
@@ -3,19 +3,28 @@
#include "Plugin.h"
#include "Reporter.h"
-#include <xmlrpc-c/client.hpp>
+//#include <xmlrpc-c/client.hpp>
#include <nssb64.h>
+#include <xmlrpc-c/base.h>
+#include <xmlrpc-c/client.h>
+
class CReporterBugzilla : public CReporter
{
private:
- typedef std::map<std::string, xmlrpc_c::value> map_xmlrpc_params_t;
+ // C implementation
+
+ bool m_bNoSSLVerify;
+
+ // C++ implementation
+
+ // typedef std::map<std::string, xmlrpc_c::value> map_xmlrpc_params_t;
void NewXMLRPCClient();
void DeleteXMLRPCClient();
static PRInt32 Base64Encode_cb(void *arg, const char *obuf, PRInt32 size);
- void Login();
+ void Login(const char* login, const char* passwd);
void Logout();
bool CheckCCAndReporter(const std::string& pBugId);
void AddPlusOneCC(const std::string& pBugId);
@@ -28,15 +37,14 @@ class CReporterBugzilla : public CReporter
std::string& pProduct,
std::string& pVersion);
- xmlrpc_c::clientXmlTransport_curl* m_pXmlrpcTransport;
- xmlrpc_c::client_xml* m_pXmlrpcClient;
- xmlrpc_c::carriageParm_curl0 *m_pCarriageParm;
+ // xmlrpc_c::clientXmlTransport_curl* m_pXmlrpcTransport;
+ // xmlrpc_c::client_xml* m_pXmlrpcClient;
+ // xmlrpc_c::carriageParm_curl0 *m_pCarriageParm;
std::string m_sBugzillaURL;
std::string m_sBugzillaXMLRPC;
std::string m_sLogin;
std::string m_sPassword;
std::string m_sAttchmentInBase64;
- bool m_bNoSSLVerify;
bool m_bLoggedIn;
public: