control_hs.h (1100B)
1 /* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. 2 * Copyright (c) 2019-2021, The Tor Project, Inc. */ 3 /* See LICENSE for licensing information */ 4 5 /** 6 * \file control_hs.c 7 * 8 * \brief Header file for control_hs.c. 9 **/ 10 11 #ifndef TOR_CONTROL_HS_H 12 #define TOR_CONTROL_HS_H 13 14 struct control_connection_t; 15 struct control_cmd_syntax_t; 16 struct control_cmd_args_t; 17 18 extern const struct control_cmd_syntax_t onion_client_auth_add_syntax; 19 extern const struct control_cmd_syntax_t onion_client_auth_remove_syntax; 20 extern const struct control_cmd_syntax_t onion_client_auth_view_syntax; 21 22 int 23 handle_control_onion_client_auth_add(struct control_connection_t *conn, 24 const struct control_cmd_args_t *args); 25 26 int 27 handle_control_onion_client_auth_remove(struct control_connection_t *conn, 28 const struct control_cmd_args_t *args); 29 30 int 31 handle_control_onion_client_auth_view(struct control_connection_t *conn, 32 const struct control_cmd_args_t *args); 33 34 #endif /* !defined(TOR_CONTROL_HS_H) */