From b32440a02896d39f44664104a935f71741a8b4c4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 31 Mar 2004 03:42:56 +0000 Subject: Implement hidserv_XX functions; there is still an XXX in directory_handle_command svn:r1404 --- src/or/or.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index 14dbdb926..7fa70435c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -985,6 +985,12 @@ int rend_encode_service_descriptor(rend_service_descriptor_t *desc, char **str_out, int *len_out); rend_service_descriptor_t *rend_parse_service_descriptor(const char *str, int len); +int rend_get_service_id(crypto_pk_env_t *pk, char *out); + +void hidserv_cache_init(void); +void hidserv_cache_clean(void); +int hidserv_lookup(char *query, const char **desc, int *desc_len); +int hidserv_store(char *desc, int desc_len); #endif -- cgit v1.2.3