summaryrefslogtreecommitdiff
path: root/inc/response.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/response.h')
-rw-r--r--inc/response.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/inc/response.h b/inc/response.h
new file mode 100644
index 0000000..c8141fd
--- /dev/null
+++ b/inc/response.h
@@ -0,0 +1,16 @@
+#ifndef RESPONSE_H
+#define RESPONSE_H
+
+enum Status {
+ OK,
+ WAIT,
+ BLOCKED,
+};
+
+struct Response {
+ Status status;
+ int *line;
+ int val;
+};
+
+#endif /* RESPONSE_H_INCLUDED */