summaryrefslogtreecommitdiff
path: root/src/trunnel/pwbox.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/pwbox.h
parente1f00c5f8620f46f97ac58b2a1787852891c8981 (diff)
downloadtor-bc68eedd79286420f8dcab5fa4ed83401299c89c.tar.gz
tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.zip
Update to trunnel 1.5.1
Diffstat (limited to 'src/trunnel/pwbox.h')
-rw-r--r--src/trunnel/pwbox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/trunnel/pwbox.h b/src/trunnel/pwbox.h
index 9376a7cd1b..939b3c41a7 100644
--- a/src/trunnel/pwbox.h
+++ b/src/trunnel/pwbox.h
@@ -1,4 +1,4 @@
-/* pwbox.h -- generated by by Trunnel v1.5.
+/* pwbox.h -- generated by by Trunnel v1.5.1.
* https://gitweb.torproject.org/trunnel.git
* You probably shouldn't edit this file.
*/
@@ -61,7 +61,7 @@ int pwbox_encoded_clear_errors(pwbox_encoded_t *obj);
/** Return the value of the fixedbytes0 field of the pwbox_encoded_t
* in 'inp'
*/
-uint32_t pwbox_encoded_get_fixedbytes0(pwbox_encoded_t *inp);
+uint32_t pwbox_encoded_get_fixedbytes0(const pwbox_encoded_t *inp);
/** Set the value of the fixedbytes0 field of the pwbox_encoded_t in
* 'inp' to 'val'. Return 0 on success; return -1 and set the error
* code on 'inp' on failure.
@@ -70,7 +70,7 @@ int pwbox_encoded_set_fixedbytes0(pwbox_encoded_t *inp, uint32_t val);
/** Return the value of the fixedbytes1 field of the pwbox_encoded_t
* in 'inp'
*/
-uint32_t pwbox_encoded_get_fixedbytes1(pwbox_encoded_t *inp);
+uint32_t pwbox_encoded_get_fixedbytes1(const pwbox_encoded_t *inp);
/** Set the value of the fixedbytes1 field of the pwbox_encoded_t in
* 'inp' to 'val'. Return 0 on success; return -1 and set the error
* code on 'inp' on failure.
@@ -79,7 +79,7 @@ int pwbox_encoded_set_fixedbytes1(pwbox_encoded_t *inp, uint32_t val);
/** Return the value of the header_len field of the pwbox_encoded_t in
* 'inp'
*/
-uint8_t pwbox_encoded_get_header_len(pwbox_encoded_t *inp);
+uint8_t pwbox_encoded_get_header_len(const pwbox_encoded_t *inp);
/** Set the value of the header_len field of the pwbox_encoded_t in
* 'inp' to 'val'. Return 0 on success; return -1 and set the error
* code on 'inp' on failure.