summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 13:55:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 13:55:23 +0100
commitb348085ac9f3d4a7ded81026bffa962a065bdf97 (patch)
treedb5fda2df01df4ed7bed0e17f12bf3e5dfd2cbc6 /inc
parent6edf29e32c72e2d860019b2b987012fe52ac49a0 (diff)
downloadabrt-b348085ac9f3d4a7ded81026bffa962a065bdf97.tar.gz
abrt-b348085ac9f3d4a7ded81026bffa962a065bdf97.tar.xz
abrt-b348085ac9f3d4a7ded81026bffa962a065bdf97.zip
Eliminate ATT file type - use TXT or BIN
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/CrashTypes.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/inc/CrashTypes.h b/inc/CrashTypes.h
index 77947f6f..ccbdd929 100644
--- a/inc/CrashTypes.h
+++ b/inc/CrashTypes.h
@@ -4,17 +4,14 @@
#include "abrt_types.h"
// SYS - system value, should not be displayed
-// BIN - binary value, should be displayed as a path to binary file
-// TXT - text value, should be displayed
-// ATT - text value which can be sent as attachment via reporters
-// TODO: maybe we don't need separate CD_ATT - can simply look at strlen(content)
-// in all places which want to handle "long" and "short" texts differently
+// BIN - binary data
+// TXT - text data, can be displayed
#define CD_SYS "s"
#define CD_BIN "b"
#define CD_TXT "t"
-#define CD_ATT "a"
-#define CD_ATT_SIZE (256)
+/* 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"