summaryrefslogtreecommitdiff
path: root/code/ecp/ht.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-03-15 21:37:11 +0100
committerUros Majstorovic <majstor@majstor.org>2018-03-15 21:37:11 +0100
commit8755ad4c0b0652f16d3505ed72ed3d8310a35c6f (patch)
tree6d7c3b93563bf64b811bb198e13ebbe7d7907e67 /code/ecp/ht.h
parentb00f381106c941ea03e5ea04dc08e6c4b9e582fa (diff)
removed *IFace from context
Diffstat (limited to 'code/ecp/ht.h')
-rw-r--r--code/ecp/ht.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/ecp/ht.h b/code/ecp/ht.h
new file mode 100644
index 0000000..13bf1d7
--- /dev/null
+++ b/code/ecp/ht.h
@@ -0,0 +1,5 @@
+void *ecp_ht_create(ECPContext *ctx);
+void ecp_ht_destroy(void *h);
+int ecp_ht_insert(void *h, unsigned char *k, ECPConnection *v);
+ECPConnection *ecp_ht_remove(void *h, unsigned char *k);
+ECPConnection *ecp_ht_search(void *h, unsigned char *k);