Add forgotten file
authorNick Downing <nick@ndcode.org>
Wed, 29 May 2019 13:05:36 +0000 (23:05 +1000)
committerNick Downing <nick@ndcode.org>
Wed, 29 May 2019 13:05:36 +0000 (23:05 +1000)
process_test.h [new file with mode: 0644]

diff --git a/process_test.h b/process_test.h
new file mode 100644 (file)
index 0000000..5adbfd1
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef _PROCESS_TEST_H
+#define _PROCESS_TEST_H 1
+
+#include <stdbool.h>
+
+#define PROCESS_TEST_TYPE_ALLOC 0
+#define PROCESS_TEST_TYPE_REALLOC 1
+#define PROCESS_TEST_TYPE_RUN 2
+#define PROCESS_TEST_TYPE_FREE 3
+
+struct process_test {
+  int type;
+  int process;
+  long old_size;
+  long size;
+  bool success;
+};
+
+#endif