summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.h
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2009-10-22 14:27:29 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2009-10-22 14:27:29 +0200
commit0f4e6e5f5fc53be8cc2871abb7c1b7e66db6925c (patch)
tree3cb9c4a33819ccdcbb59c342d713ee7d31607555 /lib/Plugins/Bugzilla.h
parent1821d3811b019c3c7ffaaf875cdfe52d33954cb9 (diff)
downloadabrt-0f4e6e5f5fc53be8cc2871abb7c1b7e66db6925c.tar.gz
abrt-0f4e6e5f5fc53be8cc2871abb7c1b7e66db6925c.tar.xz
abrt-0f4e6e5f5fc53be8cc2871abb7c1b7e66db6925c.zip
rewritten check_uuid, login, check_cc_and_reporter and add_plus_one_cc
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 5a659e5c..fa56c2c6 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();