diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-03-12 13:08:52 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-03-12 13:08:52 +0100 |
commit | 3436ce5d3ffbc2777e785310bac971c830cbb4ff (patch) | |
tree | c3ffb0d18bb992e8b97818e4d0b369844979012d /ecp/src/ecp/ht.h | |
parent | d359dd9981f4137e8873a7a571e5c54c5b2449c4 (diff) |
new rev compile OK
Diffstat (limited to 'ecp/src/ecp/ht.h')
-rw-r--r-- | ecp/src/ecp/ht.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ecp/src/ecp/ht.h b/ecp/src/ecp/ht.h index 13bf1d7..cf33454 100644 --- a/ecp/src/ecp/ht.h +++ b/ecp/src/ecp/ht.h @@ -1,5 +1,7 @@ -void *ecp_ht_create(ECPContext *ctx); +void *ecp_ht_create_keys(void); +void *ecp_ht_create_addrs(void); + 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); +int ecp_ht_insert(void *h, void *k, ECPConnection *v); +ECPConnection *ecp_ht_remove(void *h, void *k); +ECPConnection *ecp_ht_search(void *h, void *k); |