Configuration info builder for Aranya QUIC Channels config `AranyaAqcConfig`.
More...
#include <aranya-client.h>
|
(Note that these are not member symbols.)
|
AranyaError | aranya_aqc_config_builder_init (struct AranyaAqcConfigBuilder *out) |
| Initializes AranyaAqcConfigBuilder .
|
|
AranyaError | aranya_aqc_config_builder_init_ext (struct AranyaAqcConfigBuilder *out, struct AranyaExtError *__ext_err) |
| Initializes AranyaAqcConfigBuilder .
|
|
AranyaError | aranya_aqc_config_builder_cleanup (struct AranyaAqcConfigBuilder *ptr) |
| Releases any resources associated with ptr .
|
|
AranyaError | aranya_aqc_config_builder_cleanup_ext (struct AranyaAqcConfigBuilder *ptr, struct AranyaExtError *__ext_err) |
| Releases any resources associated with ptr .
|
|
AranyaError | aranya_aqc_config_build (struct AranyaAqcConfigBuilder *cfg, struct AranyaAqcConfig *out) |
| Attempts to construct an `AranyaAqcConfig`.
|
|
AranyaError | aranya_aqc_config_build_ext (struct AranyaAqcConfigBuilder *cfg, struct AranyaAqcConfig *out, struct AranyaExtError *__ext_err) |
| Attempts to construct an `AranyaAqcConfig`.
|
|
AranyaError | aranya_aqc_config_builder_set_address (struct AranyaAqcConfigBuilder *cfg, const char *address) |
| Sets the network address that the AQC server should listen on.
|
|
AranyaError | aranya_aqc_config_builder_set_address_ext (struct AranyaAqcConfigBuilder *cfg, const char *address, struct AranyaExtError *__ext_err) |
| Sets the network address that the AQC server should listen on.
|
|
AranyaError | aranya_client_config_builder_set_aqc_config (struct AranyaClientConfigBuilder *cfg, const struct AranyaAqcConfig *aqc_config) |
| Sets the configuration for Aranya QUIC Channels.
|
|
AranyaError | aranya_client_config_builder_set_aqc_config_ext (struct AranyaClientConfigBuilder *cfg, const struct AranyaAqcConfig *aqc_config, struct AranyaExtError *__ext_err) |
| Sets the configuration for Aranya QUIC Channels.
|
|
Configuration info builder for Aranya QUIC Channels config `AranyaAqcConfig`.
◆ aranya_aqc_config_build()
Attempts to construct an `AranyaAqcConfig`.
This function consumes and releases any resources associated with the memory pointed to by cfg
.
- Parameters
-
[in] | cfg | a pointer to the aqc config builder |
[out] | out | a pointer to write the aqc config to |
◆ aranya_aqc_config_build_ext()
Attempts to construct an `AranyaAqcConfig`.
This function consumes and releases any resources associated with the memory pointed to by cfg
.
- Parameters
-
[in] | cfg | a pointer to the aqc config builder |
[out] | out | a pointer to write the aqc config to |
◆ aranya_aqc_config_builder_cleanup()
◆ aranya_aqc_config_builder_cleanup_ext()
◆ aranya_aqc_config_builder_init()
Initializes AranyaAqcConfigBuilder
.
When no longer needed, out
's resources must be released with its cleanup routine.
◆ aranya_aqc_config_builder_init_ext()
Initializes AranyaAqcConfigBuilder
.
When no longer needed, out
's resources must be released with its cleanup routine.
◆ aranya_aqc_config_builder_set_address()
Sets the network address that the AQC server should listen on.
- Parameters
-
[in,out] | cfg | a pointer to the aqc config builder |
[in] | address | a string with the address to bind to |
◆ aranya_aqc_config_builder_set_address_ext()
Sets the network address that the AQC server should listen on.
- Parameters
-
[in,out] | cfg | a pointer to the aqc config builder |
[in] | address | a string with the address to bind to |
◆ aranya_client_config_builder_set_aqc_config()
Sets the configuration for Aranya QUIC Channels.
- Parameters
-
[in,out] | cfg | a pointer to the client config builder |
[in] | aqc_config | a pointer to a valid AQC config (see `AranyaAqcConfigBuilder`) |
◆ aranya_client_config_builder_set_aqc_config_ext()
Sets the configuration for Aranya QUIC Channels.
- Parameters
-
[in,out] | cfg | a pointer to the client config builder |
[in] | aqc_config | a pointer to a valid AQC config (see `AranyaAqcConfigBuilder`) |
The documentation for this struct was generated from the following file: