diff options
Diffstat (limited to 'vmp.h')
| -rw-r--r-- | vmp.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#ifndef VMP_H +#define VMP_H + +#include <stdio.h> +#include <stdlib.h> +#include <ctype.h> +#include <string.h> + + + +#define NO_ARG 1 +#define IN_NAME_TOO_SHORT 2 +#define CANNOT_OPEN_FILE 3 +#define IsSpecial(c) ((c) == '*' || (c) == '_' || (c) == '~' || (c) == '`') + +void error(const char* msg, int code); +void run(const char* in_file_name); + +void parse_and_output(const char* line); +char parse_normal_line(char* line); +void parse_line(const char* line); + + +#endif |
