2017-05-02 15:22:00 +02:00
|
|
|
/* Copyright (c) 2017, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \file hs_client.h
|
|
|
|
* \brief Header file containing client data for the HS subsytem.
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef TOR_HS_CLIENT_H
|
|
|
|
#define TOR_HS_CLIENT_H
|
|
|
|
|
2017-06-01 12:37:11 +02:00
|
|
|
#include "hs_descriptor.h"
|
|
|
|
|
2017-05-02 15:22:00 +02:00
|
|
|
void hs_client_note_connection_attempt_succeeded(
|
|
|
|
const edge_connection_t *conn);
|
|
|
|
|
2017-06-01 12:37:11 +02:00
|
|
|
int hs_client_decode_descriptor(
|
|
|
|
const char *desc_str,
|
|
|
|
const ed25519_public_key_t *service_identity_pk,
|
|
|
|
hs_descriptor_t **desc);
|
|
|
|
|
2017-05-02 15:22:00 +02:00
|
|
|
#endif /* TOR_HS_CLIENT_H */
|
|
|
|
|