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.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/lib/Plugins/Bugzilla.h b/lib/Plugins/Bugzilla.h
index 5a659e5..fa56c2c 100644
--- a/lib/Plugins/Bugzilla.h
+++ b/lib/Plugins/Bugzilla.h
@@ -10,25 +10,17 @@
#include <xmlrpc-c/base.h>
#include <xmlrpc-c/client.h>
+#include <xmlrpc-c/base.h>
+#include <xmlrpc-c/client.h>
class CReporterBugzilla : public CReporter
{
private:
// C implementation
bool m_bNoSSLVerify;
-
- // C++ implementation
-
- // typedef std::map<std::string, xmlrpc_c::value> map_xmlrpc_params_t;
-
- void NewXMLRPCClient();
- void DeleteXMLRPCClient();
+ bool m_bLoggedIn;
static PRInt32 Base64Encode_cb(void *arg, const char *obuf, PRInt32 size);
- void Login(const char* login, const char* passwd);
void Logout();
- bool CheckCCAndReporter(const std::string& pBugId);
- void AddPlusOneCC(const std::string& pBugId);
- std::string CheckUUIDInBugzilla(const std::string& pComponent, const std::string& pUUID);
std::string NewBug(const map_crash_report_t& pCrashReport);
void AddAttachments(const std::string& pBugId, const map_crash_report_t& pCrashReport);
void CreateNewBugDescription(const map_crash_report_t& pCrashReport,
@@ -37,15 +29,12 @@ 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;
std::string m_sBugzillaURL;
std::string m_sBugzillaXMLRPC;
std::string m_sLogin;
std::string m_sPassword;
std::string m_sAttchmentInBase64;
- bool m_bLoggedIn;
+
public:
CReporterBugzilla();