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/ed25519_cert.h | |
parent | e1f00c5f8620f46f97ac58b2a1787852891c8981 (diff) | |
download | tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.tar.gz tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.zip |
Update to trunnel 1.5.1
Diffstat (limited to 'src/trunnel/ed25519_cert.h')
-rw-r--r-- | src/trunnel/ed25519_cert.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/trunnel/ed25519_cert.h b/src/trunnel/ed25519_cert.h index 7cb1e9aa00..782bd59585 100644 --- a/src/trunnel/ed25519_cert.h +++ b/src/trunnel/ed25519_cert.h @@ -1,4 +1,4 @@ -/* ed25519_cert.h -- generated by by Trunnel v1.5. +/* ed25519_cert.h -- generated by by Trunnel v1.5.1. * https://gitweb.torproject.org/trunnel.git * You probably shouldn't edit this file. */ @@ -129,7 +129,7 @@ int create2_cell_body_clear_errors(create2_cell_body_t *obj); /** Return the value of the handshake_type field of the * create2_cell_body_t in 'inp' */ -uint16_t create2_cell_body_get_handshake_type(create2_cell_body_t *inp); +uint16_t create2_cell_body_get_handshake_type(const create2_cell_body_t *inp); /** Set the value of the handshake_type field of the * create2_cell_body_t in 'inp' to 'val'. Return 0 on success; return * -1 and set the error code on 'inp' on failure. @@ -138,7 +138,7 @@ int create2_cell_body_set_handshake_type(create2_cell_body_t *inp, uint16_t val) /** Return the value of the handshake_len field of the * create2_cell_body_t in 'inp' */ -uint16_t create2_cell_body_get_handshake_len(create2_cell_body_t *inp); +uint16_t create2_cell_body_get_handshake_len(const create2_cell_body_t *inp); /** Set the value of the handshake_len field of the * create2_cell_body_t in 'inp' to 'val'. Return 0 on success; return * -1 and set the error code on 'inp' on failure. @@ -218,7 +218,7 @@ int ed25519_cert_extension_clear_errors(ed25519_cert_extension_t *obj); /** Return the value of the ext_length field of the * ed25519_cert_extension_t in 'inp' */ -uint16_t ed25519_cert_extension_get_ext_length(ed25519_cert_extension_t *inp); +uint16_t ed25519_cert_extension_get_ext_length(const ed25519_cert_extension_t *inp); /** Set the value of the ext_length field of the * ed25519_cert_extension_t in 'inp' to 'val'. Return 0 on success; * return -1 and set the error code on 'inp' on failure. @@ -227,7 +227,7 @@ int ed25519_cert_extension_set_ext_length(ed25519_cert_extension_t *inp, uint16_ /** Return the value of the ext_type field of the * ed25519_cert_extension_t in 'inp' */ -uint8_t ed25519_cert_extension_get_ext_type(ed25519_cert_extension_t *inp); +uint8_t ed25519_cert_extension_get_ext_type(const ed25519_cert_extension_t *inp); /** Set the value of the ext_type field of the * ed25519_cert_extension_t in 'inp' to 'val'. Return 0 on success; * return -1 and set the error code on 'inp' on failure. @@ -236,7 +236,7 @@ int ed25519_cert_extension_set_ext_type(ed25519_cert_extension_t *inp, uint8_t v /** Return the value of the ext_flags field of the * ed25519_cert_extension_t in 'inp' */ -uint8_t ed25519_cert_extension_get_ext_flags(ed25519_cert_extension_t *inp); +uint8_t ed25519_cert_extension_get_ext_flags(const ed25519_cert_extension_t *inp); /** Set the value of the ext_flags field of the * ed25519_cert_extension_t in 'inp' to 'val'. Return 0 on success; * return -1 and set the error code on 'inp' on failure. @@ -340,7 +340,7 @@ int extend1_cell_body_clear_errors(extend1_cell_body_t *obj); /** Return the value of the ipv4addr field of the extend1_cell_body_t * in 'inp' */ -uint32_t extend1_cell_body_get_ipv4addr(extend1_cell_body_t *inp); +uint32_t extend1_cell_body_get_ipv4addr(const extend1_cell_body_t *inp); /** Set the value of the ipv4addr field of the extend1_cell_body_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -349,7 +349,7 @@ int extend1_cell_body_set_ipv4addr(extend1_cell_body_t *inp, uint32_t val); /** Return the value of the port field of the extend1_cell_body_t in * 'inp' */ -uint16_t extend1_cell_body_get_port(extend1_cell_body_t *inp); +uint16_t extend1_cell_body_get_port(const extend1_cell_body_t *inp); /** Set the value of the port field of the extend1_cell_body_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -442,7 +442,7 @@ int link_specifier_clear_errors(link_specifier_t *obj); /** Return the value of the ls_type field of the link_specifier_t in * 'inp' */ -uint8_t link_specifier_get_ls_type(link_specifier_t *inp); +uint8_t link_specifier_get_ls_type(const link_specifier_t *inp); /** Set the value of the ls_type field of the link_specifier_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -451,7 +451,7 @@ int link_specifier_set_ls_type(link_specifier_t *inp, uint8_t val); /** Return the value of the ls_len field of the link_specifier_t in * 'inp' */ -uint8_t link_specifier_get_ls_len(link_specifier_t *inp); +uint8_t link_specifier_get_ls_len(const link_specifier_t *inp); /** Set the value of the ls_len field of the link_specifier_t in 'inp' * to 'val'. Return 0 on success; return -1 and set the error code on * 'inp' on failure. @@ -460,7 +460,7 @@ int link_specifier_set_ls_len(link_specifier_t *inp, uint8_t val); /** Return the value of the un_ipv4_addr field of the link_specifier_t * in 'inp' */ -uint32_t link_specifier_get_un_ipv4_addr(link_specifier_t *inp); +uint32_t link_specifier_get_un_ipv4_addr(const link_specifier_t *inp); /** Set the value of the un_ipv4_addr field of the link_specifier_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -469,7 +469,7 @@ int link_specifier_set_un_ipv4_addr(link_specifier_t *inp, uint32_t val); /** Return the value of the un_ipv4_port field of the link_specifier_t * in 'inp' */ -uint16_t link_specifier_get_un_ipv4_port(link_specifier_t *inp); +uint16_t link_specifier_get_un_ipv4_port(const link_specifier_t *inp); /** Set the value of the un_ipv4_port field of the link_specifier_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -503,7 +503,7 @@ const uint8_t * link_specifier_getconstarray_un_ipv6_addr(const link_specifier_ /** Return the value of the un_ipv6_port field of the link_specifier_t * in 'inp' */ -uint16_t link_specifier_get_un_ipv6_port(link_specifier_t *inp); +uint16_t link_specifier_get_un_ipv6_port(const link_specifier_t *inp); /** Set the value of the un_ipv6_port field of the link_specifier_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -632,7 +632,7 @@ int ed25519_cert_clear_errors(ed25519_cert_t *obj); /** Return the value of the version field of the ed25519_cert_t in * 'inp' */ -uint8_t ed25519_cert_get_version(ed25519_cert_t *inp); +uint8_t ed25519_cert_get_version(const ed25519_cert_t *inp); /** Set the value of the version field of the ed25519_cert_t in 'inp' * to 'val'. Return 0 on success; return -1 and set the error code on * 'inp' on failure. @@ -641,7 +641,7 @@ int ed25519_cert_set_version(ed25519_cert_t *inp, uint8_t val); /** Return the value of the cert_type field of the ed25519_cert_t in * 'inp' */ -uint8_t ed25519_cert_get_cert_type(ed25519_cert_t *inp); +uint8_t ed25519_cert_get_cert_type(const ed25519_cert_t *inp); /** Set the value of the cert_type field of the ed25519_cert_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -650,7 +650,7 @@ int ed25519_cert_set_cert_type(ed25519_cert_t *inp, uint8_t val); /** Return the value of the exp_field field of the ed25519_cert_t in * 'inp' */ -uint32_t ed25519_cert_get_exp_field(ed25519_cert_t *inp); +uint32_t ed25519_cert_get_exp_field(const ed25519_cert_t *inp); /** Set the value of the exp_field field of the ed25519_cert_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -659,7 +659,7 @@ int ed25519_cert_set_exp_field(ed25519_cert_t *inp, uint32_t val); /** Return the value of the cert_key_type field of the ed25519_cert_t * in 'inp' */ -uint8_t ed25519_cert_get_cert_key_type(ed25519_cert_t *inp); +uint8_t ed25519_cert_get_cert_key_type(const ed25519_cert_t *inp); /** Set the value of the cert_key_type field of the ed25519_cert_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -693,7 +693,7 @@ const uint8_t * ed25519_cert_getconstarray_certified_key(const ed25519_cert_t * /** Return the value of the n_extensions field of the ed25519_cert_t * in 'inp' */ -uint8_t ed25519_cert_get_n_extensions(ed25519_cert_t *inp); +uint8_t ed25519_cert_get_n_extensions(const ed25519_cert_t *inp); /** Set the value of the n_extensions field of the ed25519_cert_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -795,7 +795,7 @@ int extend2_cell_body_clear_errors(extend2_cell_body_t *obj); /** Return the value of the n_spec field of the extend2_cell_body_t in * 'inp' */ -uint8_t extend2_cell_body_get_n_spec(extend2_cell_body_t *inp); +uint8_t extend2_cell_body_get_n_spec(const extend2_cell_body_t *inp); /** Set the value of the n_spec field of the extend2_cell_body_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. @@ -893,7 +893,7 @@ int link_specifier_list_clear_errors(link_specifier_list_t *obj); /** Return the value of the n_spec field of the link_specifier_list_t * in 'inp' */ -uint8_t link_specifier_list_get_n_spec(link_specifier_list_t *inp); +uint8_t link_specifier_list_get_n_spec(const link_specifier_list_t *inp); /** Set the value of the n_spec field of the link_specifier_list_t in * 'inp' to 'val'. Return 0 on success; return -1 and set the error * code on 'inp' on failure. |