summaryrefslogtreecommitdiff
path: root/support/dktools/dk4dec.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/dktools/dk4dec.h')
-rw-r--r--support/dktools/dk4dec.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/support/dktools/dk4dec.h b/support/dktools/dk4dec.h
new file mode 100644
index 0000000000..030e42915d
--- /dev/null
+++ b/support/dktools/dk4dec.h
@@ -0,0 +1,27 @@
+#ifndef DK4DEC_H_INCLUDED
+#define DK4DEC_H_INCLUDED 1
+
+/** @file dk4dec.h Result values for adding bytes to a decoder.
+*/
+
+/** Results when adding bytes to a decoder.
+*/
+enum {
+ /** Byte(s) added successfully, stored in
+ the decoders internal state.
+ No further action necessary.
+ */
+ DK4_DECODER_ACCEPT = 0,
+
+ /** Byte(s) added successfully,
+ you can retrieve output.
+ */
+ DK4_DECODER_FINISHED ,
+
+ /** An error occured while adding byte(s).
+ */
+ DK4_DECODER_ERROR
+};
+
+#endif
+