summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-02 10:06:12 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-02 10:06:12 +0200
commit5ede3fd73319200f80416f6357f0f8c80a3efdd7 (patch)
tree249b6e4ae9ec6e8e13f046dfae4ceb3c576c8978
parent33ddf7110de2fc4130803b9a0079d00cb073d50d (diff)
downloadabrt-5ede3fd73319200f80416f6357f0f8c80a3efdd7.tar.gz
abrt-5ede3fd73319200f80416f6357f0f8c80a3efdd7.tar.xz
abrt-5ede3fd73319200f80416f6357f0f8c80a3efdd7.zip
added comments
-rw-r--r--lib/MiddleWare/CrashTypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/MiddleWare/CrashTypes.h b/lib/MiddleWare/CrashTypes.h
index 15338ca2..65dff909 100644
--- a/lib/MiddleWare/CrashTypes.h
+++ b/lib/MiddleWare/CrashTypes.h
@@ -36,8 +36,11 @@ typedef struct SCrashInfo
typedef std::vector<crash_info_t> vector_crash_infos_t;
+// text value, should be displayed
#define TYPE_TXT "t"
+// binary value, should be displayed
#define TYPE_BIN "b"
+// system value, should not be displayed
#define TYPE_SYS "s"
typedef struct CCrashFile
@@ -46,6 +49,7 @@ typedef struct CCrashFile
std::string m_sContent;
} crash_file_t;
+// < key, type, value, key, type, value, ....>
typedef std::vector<std::string> vector_strings_t;
typedef std::map<std::string, crash_file_t> crash_report_t;