summaryrefslogtreecommitdiffstats
path: root/vmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'vmp.h')
-rw-r--r--vmp.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/vmp.h b/vmp.h
new file mode 100644
index 0000000..0d81624
--- /dev/null
+++ b/vmp.h
@@ -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