oups .. added missing files, added Makefile + .cvsignore list
[my-code/ivac.git] / src / input.h
diff --git a/src/input.h b/src/input.h
new file mode 100644 (file)
index 0000000..7f5796b
--- /dev/null
@@ -0,0 +1,27 @@
+/* input.h -- input headers */
+
+#ifndef INPUT_H
+#define INPUT_H
+
+/* includes */
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <errno.h>
+
+/* defines */
+#define K_SUCCESS 1
+#define K_ERROR -1
+
+#define MENUE (1<<0)
+#define CONNECTIONS (1<<1)
+
+#define MAX_CONTENT 128
+
+/* input specific variables */
+typedef struct s_input {
+  char *content;
+  unsigned char mode;
+} t_input;
+
+#endif