summaryrefslogtreecommitdiff
path: root/src/trunnel/hs/cell_common.h
diff options
context:
space:
mode:
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.