aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/control_hs.h
blob: 8b9ebaba199f2eb5aee0c217467953f19e0bb759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2019-2020, 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;
extern const struct control_cmd_syntax_t onion_client_auth_remove_syntax;
extern const struct control_cmd_syntax_t onion_client_auth_view_syntax;

int
handle_control_onion_client_auth_add(control_connection_t *conn,
                                     const control_cmd_args_t *args);

int
handle_control_onion_client_auth_remove(control_connection_t *conn,
                                        const control_cmd_args_t *args);

int
handle_control_onion_client_auth_view(control_connection_t *conn,
                                      const control_cmd_args_t *args);

#endif /* !defined(TOR_CONTROL_HS_H) */