summaryrefslogtreecommitdiff
path: root/src/trunnel/hs/cell_common.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-08 16:56:24 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:59:25 -0500
commitbc68eedd79286420f8dcab5fa4ed83401299c89c (patch)
tree84e128effdd94fa9b1f44d1bee2617be91b278f7 /src/trunnel/hs/cell_common.h
parente1f00c5f8620f46f97ac58b2a1787852891c8981 (diff)
downloadtor-bc68eedd79286420f8dcab5fa4ed83401299c89c.tar.gz
tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.zip
Update to trunnel 1.5.1
Diffstat (limited to 'src/trunnel/hs/cell_common.h')
-rw-r--r--src/trunnel/hs/cell_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/trunnel/hs/cell_common.h b/src/trunnel/hs/cell_common.h
index 3c847f71e5..8999f7da40 100644
--- a/src/trunnel/hs/cell_common.h
+++ b/src/trunnel/hs/cell_common.h
@@ -1,4 +1,4 @@
-/* cell_common.h -- generated by by Trunnel v1.5.
+/* cell_common.h -- generated by by Trunnel v1.5.1.
* https://gitweb.torproject.org/trunnel.git
* You probably shouldn't edit this file.
*/
@@ -64,7 +64,7 @@ int cell_extension_fields_clear_errors(cell_extension_fields_t *obj);
/** Return the value of the field_type field of the
* cell_extension_fields_t in 'inp'
*/
-uint8_t cell_extension_fields_get_field_type(cell_extension_fields_t *inp);
+uint8_t cell_extension_fields_get_field_type(const cell_extension_fields_t *inp);
/** Set the value of the field_type field of the
* cell_extension_fields_t in 'inp' to 'val'. Return 0 on success;
* return -1 and set the error code on 'inp' on failure.
@@ -73,7 +73,7 @@ int cell_extension_fields_set_field_type(cell_extension_fields_t *inp, uint8_t v
/** Return the value of the field_len field of the
* cell_extension_fields_t in 'inp'
*/
-uint8_t cell_extension_fields_get_field_len(cell_extension_fields_t *inp);
+uint8_t cell_extension_fields_get_field_len(const cell_extension_fields_t *inp);
/** Set the value of the field_len field of the
* cell_extension_fields_t in 'inp' to 'val'. Return 0 on success;
* return -1 and set the error code on 'inp' on failure.
@@ -150,7 +150,7 @@ const char *cell_extension_check(const cell_extension_t *obj);
int cell_extension_clear_errors(cell_extension_t *obj);
/** Return the value of the num field of the cell_extension_t in 'inp'
*/
-uint8_t cell_extension_get_num(cell_extension_t *inp);
+uint8_t cell_extension_get_num(const cell_extension_t *inp);
/** Set the value of the num field of the cell_extension_t in 'inp' to
* 'val'. Return 0 on success; return -1 and set the error code on
* 'inp' on failure.