2019-05-30 14:58:20 +02:00
|
|
|
/* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
|
|
* Copyright (c) 2019, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \file control_hs.c
|
|
|
|
*
|
|
|
|
* \brief Header file for control_hs.c.
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef TOR_CONTROL_HS_H
|
|
|
|
#define TOR_CONTROL_HS_H
|
|
|
|
|
|
|
|
struct control_cmd_syntax_t;
|
|
|
|
|
|
|
|
extern const struct control_cmd_syntax_t onion_client_auth_add_syntax;
|
2019-06-03 14:43:54 +02:00
|
|
|
extern const struct control_cmd_syntax_t onion_client_auth_remove_syntax;
|
2019-06-03 13:25:38 +02:00
|
|
|
extern const struct control_cmd_syntax_t onion_client_auth_view_syntax;
|
2019-05-30 14:58:20 +02:00
|
|
|
|
|
|
|
int
|
|
|
|
handle_control_onion_client_auth_add(control_connection_t *conn,
|
|
|
|
const control_cmd_args_t *args);
|
|
|
|
|
2019-06-03 14:43:54 +02:00
|
|
|
int
|
|
|
|
handle_control_onion_client_auth_remove(control_connection_t *conn,
|
|
|
|
const control_cmd_args_t *args);
|
|
|
|
|
2019-06-03 13:25:38 +02:00
|
|
|
int
|
|
|
|
handle_control_onion_client_auth_view(control_connection_t *conn,
|
|
|
|
const control_cmd_args_t *args);
|
|
|
|
|
2019-12-20 00:45:53 +01:00
|
|
|
#endif /* !defined(TOR_CONTROL_HS_H) */
|
2019-05-30 14:58:20 +02:00
|
|
|
|