aboutsummaryrefslogtreecommitdiffstats
path: root/P2/include
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-10-27 14:03:30 -0500
committerMatt Strapp <strap012@umn.edu>2020-10-27 14:03:30 -0500
commitdfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0 (patch)
treee516a96ebe095502738b5a261162ba7508284b7a /P2/include
parentBad workaround to add `ftok()` (diff)
downloadcsci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar
csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.gz
csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.bz2
csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.lz
csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.xz
csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.zst
csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.zip
Rewrite queue opening
Diffstat (limited to 'P2/include')
-rw-r--r--P2/include/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/P2/include/utils.h b/P2/include/utils.h
index 2c91cdf..c4d2eb4 100644
--- a/P2/include/utils.h
+++ b/P2/include/utils.h
@@ -21,6 +21,8 @@ struct msgBuffer {
long msgType;
char msgText[MSGSIZE];
};
+//Open Queue as a function because writing this once is probably better than four times.
+int openQueue();
// mapper side
int validChar(char c);