summaryrefslogtreecommitdiffstats
path: root/lib/Utils/DebugDump.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-12 16:26:54 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-12 16:26:54 +0100
commit3541999cd3338818cd86583383dbca87606d49fa (patch)
treecfdacff29ee52da415361c79b74582e51392bf0d /lib/Utils/DebugDump.h
parente608c17a82071fb490df198155a1e022857f9cf0 (diff)
downloadabrt-3541999cd3338818cd86583383dbca87606d49fa.tar.gz
abrt-3541999cd3338818cd86583383dbca87606d49fa.tar.xz
abrt-3541999cd3338818cd86583383dbca87606d49fa.zip
added lock functionality to DebugDump
Diffstat (limited to 'lib/Utils/DebugDump.h')
-rw-r--r--lib/Utils/DebugDump.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h
index f7e740d7..1217136e 100644
--- a/lib/Utils/DebugDump.h
+++ b/lib/Utils/DebugDump.h
@@ -44,6 +44,7 @@ class CDebugDump
private:
std::string m_sDebugDumpDir;
+ int m_nFD;
void SaveEnvironment();
void SaveTime();
@@ -59,10 +60,12 @@ class CDebugDump
CDebugDump();
void Open(const std::string& pDir);
void Create(const std::string& pDir);
+ void Delete(const std::string& pDir);
+ void Close();
+
void SaveProc(const std::string& pPID);
void SavePackage();
- void Delete(const std::string& pDir);
bool Exist(const std::string& pFileName);
void LoadText(const std::string& pName, std::string& pData);