aboutsummaryrefslogtreecommitdiff
path: root/src/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipe.h')
-rw-r--r--src/pipe.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pipe.h b/src/pipe.h
new file mode 100644
index 0000000..798a4a1
--- /dev/null
+++ b/src/pipe.h
@@ -0,0 +1,12 @@
+#ifndef PIPE_H
+#define PIPE_H
+#include <stdio.h>
+
+#define PIPE_PATH "/tmp/tsarc.pipe"
+#define MAX_ARG_LEN 256
+#define MAX_ARGS 4
+void init_pipe();
+void await_change();
+void make_change(char[MAX_ARGS][MAX_ARG_LEN], int);
+
+#endif