diff options
author | Taylor Yu <catalyst@torproject.org> | 2019-12-08 22:20:16 -0600 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2019-12-09 09:55:04 -0600 |
commit | bfe38878b28a90fb80d9e6311d28dcabd978b1ba (patch) | |
tree | a6fa7a51ae0a1ae2b708669c8478afcadf45cd3d /src/feature/control/control_proto.h | |
parent | 69d56625d14ad61db389acd4e0cdde7582f13c56 (diff) | |
download | tor-bfe38878b28a90fb80d9e6311d28dcabd978b1ba.tar.gz tor-bfe38878b28a90fb80d9e6311d28dcabd978b1ba.zip |
Rename control_reply_add_1kv
Part of ticket 30984.
Diffstat (limited to 'src/feature/control/control_proto.h')
-rw-r--r-- | src/feature/control/control_proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/control/control_proto.h b/src/feature/control/control_proto.h index 65c81924fd..cf7c000439 100644 --- a/src/feature/control/control_proto.h +++ b/src/feature/control/control_proto.h @@ -29,7 +29,7 @@ * Generally, modules implementing control commands will work with * smartlists of these structures, using functions like * control_reply_add_str() for adding a reply line consisting of a - * single string, or control_reply_add_1kv() and + * single string, or control_reply_add_one_kv() and * control_reply_append_kv() for composing a line containing one or * more key-value pairs. * @@ -97,8 +97,8 @@ void control_write_reply_line(control_connection_t *conn, const control_reply_line_t *line, bool lastone); void control_write_reply_lines(control_connection_t *conn, smartlist_t *lines); -void control_reply_add_1kv(smartlist_t *reply, int code, int flags, - const char *key, const char *val); +void control_reply_add_one_kv(smartlist_t *reply, int code, int flags, + const char *key, const char *val); void control_reply_append_kv(smartlist_t *reply, const char *key, const char *val); void control_reply_add_str(smartlist_t *reply, int code, const char *s); |