summaryrefslogtreecommitdiff
path: root/410user/inc/types.h
diff options
context:
space:
mode:
Diffstat (limited to '410user/inc/types.h')
-rw-r--r--410user/inc/types.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/410user/inc/types.h b/410user/inc/types.h
new file mode 100644
index 0000000..eef2003
--- /dev/null
+++ b/410user/inc/types.h
@@ -0,0 +1,23 @@
+/** @file lib/types.h
+ * @brief Defines some C standard types as well as
+ * wrapper types for some of the imported FLUX library code.
+ * @author matthewj S2008
+ */
+
+#ifndef LIB_TYPES_H
+#define LIB_TYPES_H
+
+typedef unsigned int size_t;
+typedef unsigned long ptrdiff_t;
+
+/* WRAPPERS */
+
+typedef unsigned long vm_offset_t;
+typedef unsigned long vm_size_t;
+
+typedef enum {
+ FALSE = 0,
+ TRUE
+} boolean_t;
+
+#endif /* !LIB_TYPES_H */