File: fuzzer.h

package info (click to toggle)
vis 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,624 kB
  • sloc: ansic: 23,195; sh: 981; makefile: 363; python: 47
file content (18 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef FUZZER_H
#define FUZZER_H

enum CmdStatus {
	CMD_FAIL = false,
	CMD_OK = true,
	CMD_ERR,          /* syntax error */
	CMD_QUIT,         /* quit, accept no further commands */
};

static const char *cmd_status_msg[] = {
	[CMD_FAIL] = "Fail\n",
	[CMD_OK]   = "",
	[CMD_ERR]  = "Syntax error\n",
	[CMD_QUIT] = "Bye\n",
};

#endif