|
3 | 3 |
|
4 | 4 | #include "rustls.h" |
5 | 5 |
|
6 | | -using t1 = rustls_connection *; |
7 | | -using t2 = const rustls_connection *; |
8 | | -using t3 = const rustls_certificate *; |
9 | | -using t4 = rustls_str; |
10 | | -using t5 = rustls_result; |
11 | | -using t6 = rustls_io_result; |
12 | | -using t7 = rustls_tls_version; |
| 6 | +typedef rustls_connection *t1; |
| 7 | +typedef const rustls_connection *t2; |
| 8 | +typedef const rustls_certificate *t3; |
| 9 | +typedef rustls_str t4; |
| 10 | +typedef rustls_result t5; |
| 11 | +typedef rustls_io_result t6; |
| 12 | +typedef rustls_tls_version t7; |
13 | 13 |
|
14 | 14 | rustls_result f1() { return RUSTLS_RESULT_OK; } |
15 | 15 | rustls_result f2() { return RUSTLS_RESULT_NULL_PARAMETER; } |
@@ -64,28 +64,28 @@ const rustls_certificate *f19(const rustls_connection *conn, size_t i) { |
64 | 64 | } |
65 | 65 | void f20(rustls_connection *conn) { return rustls_connection_free(conn); } |
66 | 66 |
|
67 | | -using t8 = rustls_client_config *; |
68 | | -using t9 = const rustls_client_config *; |
69 | | -using t10 = rustls_client_config_builder *; |
70 | | -using t11 = const rustls_client_config_builder *; |
71 | | -using t12 = rustls_certified_key *; |
72 | | -using t13 = const rustls_certified_key *; |
73 | | -using t14 = rustls_crypto_provider *; |
74 | | -using t15 = const rustls_crypto_provider *; |
75 | | -using t16 = rustls_crypto_provider_builder *; |
76 | | -using t17 = const rustls_crypto_provider_builder *; |
77 | | -using t18 = rustls_root_cert_store *; |
78 | | -using t19 = const rustls_root_cert_store *; |
79 | | -using t20 = rustls_root_cert_store_builder *; |
80 | | -using t21 = const rustls_root_cert_store_builder *; |
81 | | -using t22 = rustls_server_cert_verifier *; |
82 | | -using t23 = const rustls_server_cert_verifier *; |
83 | | -using t24 = rustls_web_pki_server_cert_verifier_builder *; |
84 | | -using t25 = const rustls_web_pki_server_cert_verifier_builder *; |
85 | | -using t26 = rustls_supported_ciphersuite *; |
86 | | -using t27 = const rustls_supported_ciphersuite *; |
87 | | -using t28 = rustls_slice_bytes; |
88 | | -using t29 = rustls_verify_server_cert_params; |
| 67 | +typedef rustls_client_config *t8; |
| 68 | +typedef const rustls_client_config *t9; |
| 69 | +typedef rustls_client_config_builder *t10; |
| 70 | +typedef const rustls_client_config_builder *t11; |
| 71 | +typedef rustls_certified_key *t12; |
| 72 | +typedef const rustls_certified_key *t13; |
| 73 | +typedef rustls_crypto_provider *t14; |
| 74 | +typedef const rustls_crypto_provider *t15; |
| 75 | +typedef rustls_crypto_provider_builder *t16; |
| 76 | +typedef const rustls_crypto_provider_builder *t17; |
| 77 | +typedef rustls_root_cert_store *t18; |
| 78 | +typedef const rustls_root_cert_store *t19; |
| 79 | +typedef rustls_root_cert_store_builder *t20; |
| 80 | +typedef const rustls_root_cert_store_builder *t21; |
| 81 | +typedef rustls_server_cert_verifier *t22; |
| 82 | +typedef const rustls_server_cert_verifier *t23; |
| 83 | +typedef rustls_web_pki_server_cert_verifier_builder *t24; |
| 84 | +typedef const rustls_web_pki_server_cert_verifier_builder *t25; |
| 85 | +typedef rustls_supported_ciphersuite *t26; |
| 86 | +typedef const rustls_supported_ciphersuite *t27; |
| 87 | +typedef rustls_slice_bytes t28; |
| 88 | +typedef rustls_verify_server_cert_params t29; |
89 | 89 |
|
90 | 90 | rustls_result f21(rustls_client_config_builder *builder, |
91 | 91 | const rustls_client_config **config_out) { |
|
0 commit comments