summaryrefslogtreecommitdiff
path: root/src/_readonly.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/_readonly.h')
-rw-r--r--src/_readonly.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/_readonly.h b/src/_readonly.h
new file mode 100644
index 00000000..a3e07d60
--- /dev/null
+++ b/src/_readonly.h
@@ -0,0 +1,12 @@
+#ifndef ___READONLY_H__
+
+typedef enum {
+ RO_ALLOC,
+ RO_FREE,
+ RO_LOCK,
+ RO_UNLOCK,
+} ro_action_t;
+
+void *__readonly(ro_action_t, void *);
+
+#endif