doc: specify complete file names
[vis.git] / sam.h
blob0de831e0c088f01167c1ea8da6cfb3f0a890ed05
1 #ifndef SAM_H
2 #define SAM_H
4 #include "vis.h"
6 enum SamError {
7 SAM_ERR_OK,
8 SAM_ERR_MEMORY,
9 SAM_ERR_ADDRESS,
10 SAM_ERR_NO_ADDRESS,
11 SAM_ERR_UNMATCHED_BRACE,
12 SAM_ERR_REGEX,
13 SAM_ERR_TEXT,
14 SAM_ERR_SHELL,
15 SAM_ERR_COMMAND,
16 SAM_ERR_EXECUTE,
17 SAM_ERR_NEWLINE,
18 SAM_ERR_MARK,
19 SAM_ERR_CONFLICT,
20 SAM_ERR_WRITE_CONFLICT,
21 SAM_ERR_LOOP_INVALID_CMD,
22 SAM_ERR_GROUP_INVALID_CMD,
23 SAM_ERR_COUNT,
26 bool sam_init(Vis*);
27 enum SamError sam_cmd(Vis*, const char *cmd);
28 const char *sam_error(enum SamError);
30 #endif