aboutsummaryrefslogtreecommitdiff
path: root/include/cnn1986_treap_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cnn1986_treap_cache.h')
-rw-r--r--include/cnn1986_treap_cache.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cnn1986_treap_cache.h b/include/cnn1986_treap_cache.h
new file mode 100644
index 0000000..292e9c5
--- /dev/null
+++ b/include/cnn1986_treap_cache.h
@@ -0,0 +1,12 @@
+#include <stdlib.h>
+#include <stdint.h>
+#include <tak.h>
+
+extern uint32_t cnn1986_num_cached;
+extern uint32_t cnn1986_max_num_cached;
+
+int cnn1986_cache_init(void);
+void cnn1986_cache_free(void);
+
+int cnn1986_cache_seek(float *out_result);
+int cnn1986_cache_insert(float in_result);