diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 18:08:01 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 18:08:01 +0100 |
commit | c781b46915c73f8f7b12efddd0357930eb1df8bb (patch) | |
tree | c6a23126b702689d9d2842bbd1f3f46428995154 /inc | |
parent | 811e5d7e9917558b9529c42a9cc86a773b31c0c2 (diff) | |
download | abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.gz abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.xz abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.zip |
move all FILENAME_xxx defines to inc/CrashTypes.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc')
-rw-r--r-- | inc/CrashTypes.h | 56 |
1 files changed, 40 insertions, 16 deletions
diff --git a/inc/CrashTypes.h b/inc/CrashTypes.h index 4778b707..9daefa93 100644 --- a/inc/CrashTypes.h +++ b/inc/CrashTypes.h @@ -21,22 +21,29 @@ #include "abrt_types.h" -// SYS - system value, should not be displayed -// BIN - binary data -// TXT - text data, can be displayed -#define CD_SYS "s" -#define CD_BIN "b" -#define CD_TXT "t" - -/* Text bigger than this usually is attached, not added inline */ -#define CD_TEXT_ATT_SIZE (2*1024) - -#define CD_ISEDITABLE "y" -#define CD_ISNOTEDITABLE "n" - -#define CD_TYPE (0) -#define CD_EDITABLE (1) -#define CD_CONTENT (2) +// Filenames in dump directory +#define FILENAME_ARCHITECTURE "architecture" +#define FILENAME_KERNEL "kernel" +#define FILENAME_TIME "time" +#define FILENAME_UID "uid" +// uuid _file_ exists for Python analyzer only - remove, follow ccpp's example? +// (ccpp keeps uuid in DB) +#define FILENAME_UUID "uuid" +#define FILENAME_PACKAGE "package" +#define FILENAME_COMPONENT "component" +#define FILENAME_DESCRIPTION "description" +#define FILENAME_ANALYZER "analyzer" +#define FILENAME_RELEASE "release" +#define FILENAME_EXECUTABLE "executable" +#define FILENAME_REASON "reason" +#define FILENAME_COMMENT "comment" +#define FILENAME_REPRODUCE "reproduce" +#define FILENAME_RATING "rating" +#define FILENAME_CMDLINE "cmdline" +#define FILENAME_COREDUMP "coredump" +#define FILENAME_BACKTRACE "backtrace" +#define FILENAME_MEMORYMAP "memorymap" +#define FILENAME_KERNELOOPS "kerneloops" #define CD_UUID "UUID" #define CD_UID "UID" @@ -54,6 +61,23 @@ #define CD_MWUUID "_MWUUID" #define CD_MWDDD "_MWDDD" +// SYS - system value, should not be displayed +// BIN - binary data +// TXT - text data, can be displayed +#define CD_SYS "s" +#define CD_BIN "b" +#define CD_TXT "t" + +/* Text bigger than this usually is attached, not added inline */ +#define CD_TEXT_ATT_SIZE (2*1024) + +#define CD_ISEDITABLE "y" +#define CD_ISNOTEDITABLE "n" + +#define CD_TYPE (0) +#define CD_EDITABLE (1) +#define CD_CONTENT (2) + // currently, vector always has exactly 3 elements -> <type, editable, content> // <key, data> typedef map_vector_string_t map_crash_data_t; |