summaryrefslogtreecommitdiffstats
path: root/src/rcclock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcclock.h')
-rw-r--r--src/rcclock.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rcclock.h b/src/rcclock.h
new file mode 100644
index 0000000..e043150
--- /dev/null
+++ b/src/rcclock.h
@@ -0,0 +1,12 @@
+#ifndef _RCC_LOCK_H
+#define _RCC_LOCK_H
+
+#ifndef LIBRCC_LOCK_WAIT
+# define LIBRCC_LOCK_WAIT 3000 /* ms */
+#endif /* LIBRCC_LOCK_WAIT */
+
+int rccLock();
+void rccUnLock();
+
+#endif /* _RCC_LOCK_H */
+