summaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-21 14:33:11 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-21 14:33:11 +0000
commita2a0f702e632d9219628fc467e1d2e5bde2eab7d (patch)
tree0ae58e84406000fa972df869e5b5d53a0055ad98 /hash.h
parentfbb9d82bb98b950898eaea727e3f0ca584d1f587 (diff)
made dtls server do proper certificate matching
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@356 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hash.h b/hash.h
index f9268ea..dbf9543 100644
--- a/hash.h
+++ b/hash.h
@@ -24,3 +24,6 @@ int hash_insert(struct hash *hash, void *key, uint32_t keylen, void *data);
/* reads entry from hash */
void *hash_read(struct hash *hash, void *key, uint32_t keylen);
+
+/* extracts (read and remove) entry from hash */
+void *hash_extract(struct hash *hash, void *key, uint32_t keylen);