diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/dk3stm.h |
Initial commit
Diffstat (limited to 'support/dktools/dk3stm.h')
-rw-r--r-- | support/dktools/dk3stm.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/support/dktools/dk3stm.h b/support/dktools/dk3stm.h new file mode 100644 index 0000000000..0974e1114f --- /dev/null +++ b/support/dktools/dk3stm.h @@ -0,0 +1,24 @@ + +#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 */ + |