diff options
| author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-06-10 10:06:37 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-06-10 10:06:37 +0200 |
| commit | 5b80ac3bd83483cf937b13b222b55a0980ffdc39 (patch) | |
| tree | ec7cb1d37cbf740b41263d4e2c6dd14c78f9a229 /lib/CommLayer/CommLayerServerSocket.h | |
| parent | 9eab929557ef4228b3335f4908dd6b4acf9251dc (diff) | |
| download | abrt-5b80ac3bd83483cf937b13b222b55a0980ffdc39.tar.gz abrt-5b80ac3bd83483cf937b13b222b55a0980ffdc39.tar.xz abrt-5b80ac3bd83483cf937b13b222b55a0980ffdc39.zip | |
abrt can take reporter's configuration file from reporting users's $HOME/.abrt/ directory
Diffstat (limited to 'lib/CommLayer/CommLayerServerSocket.h')
| -rw-r--r-- | lib/CommLayer/CommLayerServerSocket.h | 14 |
1 files changed, 5 insertions, 9 deletions
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 <glib.h> #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); |
