From 821c30ceca2885836fb2aeafaa03ab0c0f1b1809 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Wed, 20 May 2009 11:16:33 +0200 Subject: initial unix socket interface --- lib/CommLayer/CommLayerServerDBus.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/CommLayer/CommLayerServerDBus.cpp') 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; } -- cgit