Aranya
a software development tool for governing access to data and services over a decentralized, zero-trust framework with secure end-to-end encrypted data exchange built-in.
Loading...
Searching...
No Matches
Related Symbols
AranyaAqcConfigBuilder Struct Reference

Configuration info builder for Aranya QUIC Channels config `AranyaAqcConfig`. More...

#include <aranya-client.h>

Related Symbols

(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.
 

Detailed Description

Configuration info builder for Aranya QUIC Channels config `AranyaAqcConfig`.

Friends And Related Symbol Documentation

◆ aranya_aqc_config_build()

AranyaError aranya_aqc_config_build ( struct AranyaAqcConfigBuilder cfg,
struct AranyaAqcConfig out 
)
related

Attempts to construct an `AranyaAqcConfig`.

This function consumes and releases any resources associated with the memory pointed to by cfg.

Parameters
[in]cfga pointer to the aqc config builder
[out]outa pointer to write the aqc config to

◆ aranya_aqc_config_build_ext()

AranyaError aranya_aqc_config_build_ext ( struct AranyaAqcConfigBuilder cfg,
struct AranyaAqcConfig out,
struct AranyaExtError __ext_err 
)
related

Attempts to construct an `AranyaAqcConfig`.

This function consumes and releases any resources associated with the memory pointed to by cfg.

Parameters
[in]cfga pointer to the aqc config builder
[out]outa pointer to write the aqc config to

◆ aranya_aqc_config_builder_cleanup()

AranyaError aranya_aqc_config_builder_cleanup ( struct AranyaAqcConfigBuilder ptr)
related

Releases any resources associated with ptr.

ptr must either be null or initialized by aranya_aqc_config_builder_init.

◆ aranya_aqc_config_builder_cleanup_ext()

AranyaError aranya_aqc_config_builder_cleanup_ext ( struct AranyaAqcConfigBuilder ptr,
struct AranyaExtError __ext_err 
)
related

Releases any resources associated with ptr.

ptr must either be null or initialized by aranya_aqc_config_builder_init.

◆ aranya_aqc_config_builder_init()

AranyaError aranya_aqc_config_builder_init ( struct AranyaAqcConfigBuilder out)
related

Initializes AranyaAqcConfigBuilder.

When no longer needed, out's resources must be released with its cleanup routine.

◆ aranya_aqc_config_builder_init_ext()

AranyaError aranya_aqc_config_builder_init_ext ( struct AranyaAqcConfigBuilder out,
struct AranyaExtError __ext_err 
)
related

Initializes AranyaAqcConfigBuilder.

When no longer needed, out's resources must be released with its cleanup routine.

◆ aranya_aqc_config_builder_set_address()

AranyaError aranya_aqc_config_builder_set_address ( struct AranyaAqcConfigBuilder cfg,
const char *  address 
)
related

Sets the network address that the AQC server should listen on.

Parameters
[in,out]cfga pointer to the aqc config builder
[in]addressa string with the address to bind to

◆ aranya_aqc_config_builder_set_address_ext()

AranyaError aranya_aqc_config_builder_set_address_ext ( struct AranyaAqcConfigBuilder cfg,
const char *  address,
struct AranyaExtError __ext_err 
)
related

Sets the network address that the AQC server should listen on.

Parameters
[in,out]cfga pointer to the aqc config builder
[in]addressa string with the address to bind to

◆ aranya_client_config_builder_set_aqc_config()

AranyaError aranya_client_config_builder_set_aqc_config ( struct AranyaClientConfigBuilder cfg,
const struct AranyaAqcConfig aqc_config 
)
related

Sets the configuration for Aranya QUIC Channels.

Parameters
[in,out]cfga pointer to the client config builder
[in]aqc_configa pointer to a valid AQC config (see `AranyaAqcConfigBuilder`)

◆ aranya_client_config_builder_set_aqc_config_ext()

AranyaError aranya_client_config_builder_set_aqc_config_ext ( struct AranyaClientConfigBuilder cfg,
const struct AranyaAqcConfig aqc_config,
struct AranyaExtError __ext_err 
)
related

Sets the configuration for Aranya QUIC Channels.

Parameters
[in,out]cfga pointer to the client config builder
[in]aqc_configa pointer to a valid AQC config (see `AranyaAqcConfigBuilder`)

The documentation for this struct was generated from the following file: