From 5b80ac3bd83483cf937b13b222b55a0980ffdc39 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Wed, 10 Jun 2009 10:06:37 +0200 Subject: abrt can take reporter's configuration file from reporting users's $HOME/.abrt/ directory --- lib/CommLayer/CommLayerServerSocket.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'lib/CommLayer/CommLayerServerSocket.h') diff --git a/lib/CommLayer/CommLayerServerSocket.h b/lib/CommLayer/CommLayerServerSocket.h index e816ada..9e165c7 100644 --- a/lib/CommLayer/CommLayerServerSocket.h +++ b/lib/CommLayer/CommLayerServerSocket.h @@ -2,11 +2,7 @@ #include #define SOCKET_PATH "/tmp/abrt.socket" - -#define MESSAGE_DELETE_DEBUG_DUMP "(DELETE_DEBUG_DUMP)" -#define MESSAGE_GET_CRASH_INFOS "(GET_CRASH_INFOS)" -#define MESSAGE_REPORT "(REPORT)" -#define MESSAGE_CREATE_REPORT "(CREATE_REPORT)" +#define SOCKET_PERMISSION 0666 class CCommLayerServerSocket : public CCommLayerServer { @@ -29,10 +25,10 @@ class CCommLayerServerSocket : public CCommLayerServer CCommLayerServerSocket(); virtual ~CCommLayerServerSocket(); - virtual vector_crash_infos_t GetCrashInfos(const std::string &pDBusSender); - virtual map_crash_report_t CreateReport(const std::string &pUUID,const std::string &pDBusSender); - virtual bool Report(map_crash_report_t pReport); - virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender); + virtual vector_crash_infos_t GetCrashInfos(const std::string &pSender); + virtual map_crash_report_t CreateReport(const std::string &pUUID,const std::string &pSender); + virtual bool Report(map_crash_report_t pReport, const std::string& pSender); + virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pSender); virtual void Crash(const std::string& arg1); virtual void AnalyzeComplete(map_crash_report_t arg1); -- cgit