blob: aacdcc7be02ff5ddf3ee8ca773123d03b1c9cb0f (
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
|
/*
Copyright 2020, Dirk Krause. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef DK3STM_H_INCLUDED
/** Protection against multiple inclusions. */
#define DK3STM_H_INCLUDED 1
/** Results when adding input to a state machine
*/
enum {
/** Input accepted, no result yet, continue.
*/
DK3_STM_ACCEPT = 0,
/** Input accepted, result found.
*/
DK3_STM_FINISHED ,
/** Can not accept input.
*/
DK3_STM_ERROR
};
#endif
/* ifndef DK3STM_H_INCLUDED */
|