summaryrefslogtreecommitdiff
path: root/support/dktools/dk4dec.h
blob: b01b050b086538d719939d7075dd2a70e789a732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
Copyright 2020, Dirk Krause. All rights reserved.
SPDX-License-Identifier:	BSD-3-Clause
*/

#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