Control port STREAM XON/XOFF status event notification
[tor.git] / src / feature / control / control_hs.h
blob5b1bbd20081554cc7175227cbe651a9f2e5157af
1 /* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
2 * Copyright (c) 2019-2021, The Tor Project, Inc. */
3 /* See LICENSE for licensing information */
5 /**
6 * \file control_hs.c
8 * \brief Header file for control_hs.c.
9 **/
11 #ifndef TOR_CONTROL_HS_H
12 #define TOR_CONTROL_HS_H
14 struct control_connection_t;
15 struct control_cmd_syntax_t;
16 struct control_cmd_args_t;
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;
22 int
23 handle_control_onion_client_auth_add(struct control_connection_t *conn,
24 const struct control_cmd_args_t *args);
26 int
27 handle_control_onion_client_auth_remove(struct control_connection_t *conn,
28 const struct control_cmd_args_t *args);
30 int
31 handle_control_onion_client_auth_view(struct control_connection_t *conn,
32 const struct control_cmd_args_t *args);
34 #endif /* !defined(TOR_CONTROL_HS_H) */