summaryrefslogtreecommitdiff
path: root/inc/response.h
diff options
context:
space:
mode:
authorbd <bdunaisky@umass.edu>2025-03-06 21:28:20 +0000
committerGitHub <noreply@github.com>2025-03-06 21:28:20 +0000
commit04909d2bf353494a84bdf8d3d0e2f48ceeaa2ea0 (patch)
treeaf137790ab40290d1cc4e83f3261370c591512bc /inc/response.h
parentb88f24b680be34b3669f33214758c76439d7b777 (diff)
parente296a3a6ab782cb80b7091324b41bb78db6d3906 (diff)
Merge pull request #13 from bdunahu/bdunahu
constructors + method declarations for cache, dram, reponse, storage
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 */