summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.h
diff options
context:
space:
mode:
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: