summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-05-20 11:16:33 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-05-20 11:16:33 +0200
commit821c30ceca2885836fb2aeafaa03ab0c0f1b1809 (patch)
treeed60a68f5ca8067cc9b7f1285c1b15dd648e7238 /lib/CommLayer/CommLayerServerDBus.cpp
parentbc12d93a46c87ccf647f83b4eafd4378d19b9e29 (diff)
downloadabrt-821c30ceca2885836fb2aeafaa03ab0c0f1b1809.tar.gz
abrt-821c30ceca2885836fb2aeafaa03ab0c0f1b1809.tar.xz
abrt-821c30ceca2885836fb2aeafaa03ab0c0f1b1809.zip
initial unix socket interface
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r--lib/CommLayer/CommLayerServerDBus.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp
index b9024f6..8f4b3bf 100644
--- a/lib/CommLayer/CommLayerServerDBus.cpp
+++ b/lib/CommLayer/CommLayerServerDBus.cpp
@@ -31,17 +31,17 @@ CCommLayerServerDBus::~CCommLayerServerDBus()
delete m_pDispatcher;
}
-vector_crash_infos_t CCommLayerServerDBus::GetCrashInfos(const std::string &pDBusSender)
+vector_crash_infos_t CCommLayerServerDBus::GetCrashInfos(const std::string &pSender)
{
vector_crash_infos_t crashInfos;
- unsigned long unix_uid = m_pConn->sender_unix_uid(pDBusSender.c_str());
+ unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
crashInfos = m_pObserver->GetCrashInfos(to_string(unix_uid));
return crashInfos;
}
-map_crash_report_t CCommLayerServerDBus::CreateReport(const std::string &pUUID,const std::string &pDBusSender)
+map_crash_report_t CCommLayerServerDBus::CreateReport(const std::string &pUUID,const std::string &pSender)
{
- unsigned long unix_uid = m_pConn->sender_unix_uid(pDBusSender.c_str());
+ unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
map_crash_report_t crashReport;
crashReport = m_pObserver->CreateReport(pUUID, to_string(unix_uid));
return crashReport;
@@ -53,9 +53,9 @@ bool CCommLayerServerDBus::Report(map_crash_report_t pReport)
return true;
}
-bool CCommLayerServerDBus::DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender)
+bool CCommLayerServerDBus::DeleteDebugDump(const std::string& pUUID, const std::string& pSender)
{
- unsigned long unix_uid = m_pConn->sender_unix_uid(pDBusSender.c_str());
+ unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
m_pObserver->DeleteDebugDump(pUUID,to_string(unix_uid));
return true;
}