summaryrefslogtreecommitdiff
path: root/base/sjbig2.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-11-13 04:18:21 +0100
committerSebastian Rasmussen <sebras@gmail.com>2018-11-14 16:32:46 +0100
commitf1756124f0f3c542bd6c2a9b325dea6bf860fc61 (patch)
tree71130030023406776c3a2c509ced90f84ce069f0 /base/sjbig2.h
parentbcb605e49dbe306ba881818466f8be591510a9ab (diff)
downloadghostpdl-f1756124f0f3c542bd6c2a9b325dea6bf860fc61.tar.gz
jbig2dec: Only print repeated error/warning messages once.
Diffstat (limited to 'base/sjbig2.h')
-rw-r--r--base/sjbig2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/sjbig2.h b/base/sjbig2.h
index f94f4b0ec..50289ce94 100644
--- a/base/sjbig2.h
+++ b/base/sjbig2.h
@@ -28,6 +28,10 @@ typedef struct s_jbig2_callback_data_s
{
gs_memory_t *memory;
int error;
+ char *last_message;
+ Jbig2Severity severity;
+ const char *type;
+ long repeats;
} s_jbig2_callback_data_t;
/* See zfjbig2.c for details. */