diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-08 16:56:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-08 16:59:25 -0500 |
commit | bc68eedd79286420f8dcab5fa4ed83401299c89c (patch) | |
tree | 84e128effdd94fa9b1f44d1bee2617be91b278f7 /src/trunnel/hs/cell_introduce1.h | |
parent | e1f00c5f8620f46f97ac58b2a1787852891c8981 (diff) | |
download | tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.tar.gz tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.zip |
Update to trunnel 1.5.1
Diffstat (limited to 'src/trunnel/hs/cell_introduce1.h')
-rw-r--r-- | src/trunnel/hs/cell_introduce1.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/trunnel/hs/cell_introduce1.h b/src/trunnel/hs/cell_introduce1.h index 09ee0fb4b3..ccd2cda904 100644 --- a/src/trunnel/hs/cell_introduce1.h +++ b/src/trunnel/hs/cell_introduce1.h @@ -1,4 +1,4 @@ -/* cell_introduce1.h -- generated by by Trunnel v1.5. +/* cell_introduce1.h -- generated by by Trunnel v1.5.1. * https://gitweb.torproject.org/trunnel.git * You probably shouldn't edit this file. */ @@ -110,7 +110,7 @@ const uint8_t * hs_cell_introduce1_getconstarray_legacy_key_id(const hs_cell_in /** Return the value of the auth_key_type field of the * hs_cell_introduce1_t in 'inp' */ -uint8_t hs_cell_introduce1_get_auth_key_type(hs_cell_introduce1_t *inp); +uint8_t hs_cell_introduce1_get_auth_key_type(const hs_cell_introduce1_t *inp); /** Set the value of the auth_key_type field of the * hs_cell_introduce1_t in 'inp' to 'val'. Return 0 on success; return * -1 and set the error code on 'inp' on failure. @@ -119,7 +119,7 @@ int hs_cell_introduce1_set_auth_key_type(hs_cell_introduce1_t *inp, uint8_t val) /** Return the value of the auth_key_len field of the * hs_cell_introduce1_t in 'inp' */ -uint16_t hs_cell_introduce1_get_auth_key_len(hs_cell_introduce1_t *inp); +uint16_t hs_cell_introduce1_get_auth_key_len(const hs_cell_introduce1_t *inp); /** Set the value of the auth_key_len field of the * hs_cell_introduce1_t in 'inp' to 'val'. Return 0 on success; return * -1 and set the error code on 'inp' on failure. @@ -250,7 +250,7 @@ int hs_cell_introduce_ack_clear_errors(hs_cell_introduce_ack_t *obj); /** Return the value of the status field of the * hs_cell_introduce_ack_t in 'inp' */ -uint16_t hs_cell_introduce_ack_get_status(hs_cell_introduce_ack_t *inp); +uint16_t hs_cell_introduce_ack_get_status(const hs_cell_introduce_ack_t *inp); /** Set the value of the status field of the hs_cell_introduce_ack_t * in 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -358,7 +358,7 @@ int hs_cell_introduce_encrypted_set0_extensions(hs_cell_introduce_encrypted_t *i /** Return the value of the onion_key_type field of the * hs_cell_introduce_encrypted_t in 'inp' */ -uint8_t hs_cell_introduce_encrypted_get_onion_key_type(hs_cell_introduce_encrypted_t *inp); +uint8_t hs_cell_introduce_encrypted_get_onion_key_type(const hs_cell_introduce_encrypted_t *inp); /** Set the value of the onion_key_type field of the * hs_cell_introduce_encrypted_t in 'inp' to 'val'. Return 0 on * success; return -1 and set the error code on 'inp' on failure. @@ -367,7 +367,7 @@ int hs_cell_introduce_encrypted_set_onion_key_type(hs_cell_introduce_encrypted_t /** Return the value of the onion_key_len field of the * hs_cell_introduce_encrypted_t in 'inp' */ -uint16_t hs_cell_introduce_encrypted_get_onion_key_len(hs_cell_introduce_encrypted_t *inp); +uint16_t hs_cell_introduce_encrypted_get_onion_key_len(const hs_cell_introduce_encrypted_t *inp); /** Set the value of the onion_key_len field of the * hs_cell_introduce_encrypted_t in 'inp' to 'val'. Return 0 on * success; return -1 and set the error code on 'inp' on failure. @@ -410,7 +410,7 @@ int hs_cell_introduce_encrypted_setlen_onion_key(hs_cell_introduce_encrypted_t * /** Return the value of the nspec field of the * hs_cell_introduce_encrypted_t in 'inp' */ -uint8_t hs_cell_introduce_encrypted_get_nspec(hs_cell_introduce_encrypted_t *inp); +uint8_t hs_cell_introduce_encrypted_get_nspec(const hs_cell_introduce_encrypted_t *inp); /** Set the value of the nspec field of the * hs_cell_introduce_encrypted_t in 'inp' to 'val'. Return 0 on * success; return -1 and set the error code on 'inp' on failure. |