diff options
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r-- | src/or/rendservice.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h index 70ebd8786d..88da7b8665 100644 --- a/src/or/rendservice.h +++ b/src/or/rendservice.h @@ -199,16 +199,7 @@ void rend_authorized_client_free_(rend_authorized_client_t *client); FREE_AND_NULL(rend_authorized_client_t, rend_authorized_client_free_, \ (client)) -/** Return value from rend_service_add_ephemeral. */ -typedef enum { - RSAE_BADAUTH = -5, /**< Invalid auth_type/auth_clients */ - RSAE_BADVIRTPORT = -4, /**< Invalid VIRTPORT/TARGET(s) */ - RSAE_ADDREXISTS = -3, /**< Onion address collision */ - RSAE_BADPRIVKEY = -2, /**< Invalid public key */ - RSAE_INTERNAL = -1, /**< Internal error */ - RSAE_OKAY = 0 /**< Service added as expected */ -} rend_service_add_ephemeral_status_t; -rend_service_add_ephemeral_status_t rend_service_add_ephemeral(crypto_pk_t *pk, +hs_service_add_ephemeral_status_t rend_service_add_ephemeral(crypto_pk_t *pk, smartlist_t *ports, int max_streams_per_circuit, int max_streams_close_circuit, |