summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-05-13 09:30:13 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-05-13 09:30:13 +0200
commit42288f912fb49ba249e3e365a920ed7dd70967bb (patch)
tree8a12fcdf6fed871a0b97745f66b1bf19f1003e6d /lib/Plugins/Bugzilla.h
parent82794aec5df6f93975986d02dbb1d729004587fc (diff)
downloadabrt-42288f912fb49ba249e3e365a920ed7dd70967bb.tar.gz
abrt-42288f912fb49ba249e3e365a920ed7dd70967bb.tar.xz
abrt-42288f912fb49ba249e3e365a920ed7dd70967bb.zip
bugzilla can save an attachements now
Diffstat (limited to 'lib/Plugins/Bugzilla.h')
-rw-r--r--lib/Plugins/Bugzilla.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Plugins/Bugzilla.h b/lib/Plugins/Bugzilla.h
index 075484af..cd2d5cd6 100644
--- a/lib/Plugins/Bugzilla.h
+++ b/lib/Plugins/Bugzilla.h
@@ -5,15 +5,19 @@
#include "Reporter.h"
#include <xmlrpc-c/client.hpp>
+#include <nssb64.h>
+
class CReporterBugzilla : public CReporter
{
private:
typedef std::map<std::string, xmlrpc_c::value> map_xmlrpc_params_t;
+ static PRInt32 Base64Encode_cb(void *arg, const char *obuf, PRInt32 size);
void Login();
void Logout();
bool CheckUUIDInBugzilla(const std::string& pComponent, const std::string& pUUID);
void 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,
std::string& pDescription);
void GetProductAndVersion(const std::string& pRelease,
@@ -26,6 +30,7 @@ class CReporterBugzilla : public CReporter
std::string m_sBugzillaURL;
std::string m_sLogin;
std::string m_sPassword;
+ std::string m_sAttchmentInBase64;
public:
CReporterBugzilla();