repo.or.cz
/
vis-test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
test/sam: add tests for empty matches at the end of a range
[vis-test.git]
/
fuzz
/
fuzzer.h
blob
32655321f4d73345be8786e62c8e5f1a827ed02b
1
#ifndef FUZZER_H
2
#define FUZZER_H
3
4
enum
CmdStatus
{
5
CMD_FAIL
=
false
,
6
CMD_OK
=
true
,
7
CMD_ERR
,
/* syntax error */
8
CMD_QUIT
,
/* quit, accept no further commands */
9
};
10
11
static const char
*
cmd_status_msg
[] = {
12
[
CMD_FAIL
] =
"Fail
\n
"
,
13
[
CMD_OK
] =
""
,
14
[
CMD_ERR
] =
"Syntax error
\n
"
,
15
[
CMD_QUIT
] =
"Bye
\n
"
,
16
};
17
18
#endif