diff options
author | Taylor Yu <catalyst@torproject.org> | 2019-04-08 11:34:12 -0500 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2019-04-30 13:18:46 -0500 |
commit | 8e7316bae43e666a9fa3b99448561af90cbc21b8 (patch) | |
tree | 79583c99b30d65f85ffbe3e3641ec94d8a80e87a /src/feature/control/control_fmt.h | |
parent | 965c2064da9ae731873110a1f6da66e2f6fa020e (diff) | |
download | tor-8e7316bae43e666a9fa3b99448561af90cbc21b8.tar.gz tor-8e7316bae43e666a9fa3b99448561af90cbc21b8.zip |
Split reply formatting out of control_fmt.c
Split the core reply formatting code out of control_fmt.c into
control_proto.c. The remaining code in control_format.c deals with
specific subsystems and will eventually move to join those subsystems.
Diffstat (limited to 'src/feature/control/control_fmt.h')
-rw-r--r-- | src/feature/control/control_fmt.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/feature/control/control_fmt.h b/src/feature/control/control_fmt.h index 8bbbaa95d0..6446e37079 100644 --- a/src/feature/control/control_fmt.h +++ b/src/feature/control/control_fmt.h @@ -12,21 +12,12 @@ #ifndef TOR_CONTROL_FMT_H #define TOR_CONTROL_FMT_H -void connection_write_str_to_buf(const char *s, control_connection_t *conn); -void connection_printf_to_buf(control_connection_t *conn, - const char *format, ...) - CHECK_PRINTF(2,3); - int write_stream_target_to_buf(entry_connection_t *conn, char *buf, size_t len); void orconn_target_get_name(char *buf, size_t len, or_connection_t *conn); char *circuit_describe_status_for_controller(origin_circuit_t *circ); -size_t write_escaped_data(const char *data, size_t len, char **out); -size_t read_escaped_data(const char *data, size_t len, char **out); -void send_control_done(control_connection_t *conn); - MOCK_DECL(const char *, node_describe_longname_by_id,(const char *id_digest)); #endif /* !defined(TOR_CONTROL_FMT_H) */ |