![]() |
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.
|
Builder for a Sync Peer config `AranyaSyncPeerConfig`. More...
#include <aranya-client.h>
Builder for a Sync Peer config `AranyaSyncPeerConfig`.
|
related |
Attempts to build a `AranyaSyncPeerConfig`.
This function consumes and releases any resources associated with the memory pointed to by cfg
.
[in] | cfg | a pointer to the builder for a sync config `AranyaSyncPeerConfigBuilder` |
[out] | out | a pointer to write the sync config to `AranyaSyncPeerConfig` |
|
related |
Attempts to build a `AranyaSyncPeerConfig`.
This function consumes and releases any resources associated with the memory pointed to by cfg
.
[in] | cfg | a pointer to the builder for a sync config `AranyaSyncPeerConfigBuilder` |
[out] | out | a pointer to write the sync config to `AranyaSyncPeerConfig` |
|
related |
Releases any resources associated with ptr
.
ptr
must either be null or initialized by aranya_sync_peer_config_builder_init
.
|
related |
Releases any resources associated with ptr
.
ptr
must either be null or initialized by aranya_sync_peer_config_builder_init
.
|
related |
Initializes AranyaSyncPeerConfigBuilder
.
When no longer needed, out
's resources must be released with its cleanup routine.
|
related |
Initializes AranyaSyncPeerConfigBuilder
.
When no longer needed, out
's resources must be released with its cleanup routine.
|
related |
Configures how often the peer will be synced with.
By default, the interval is not set. It is an error to call `aranya_sync_peer_config_build` before setting the interval with this function
[in,out] | cfg | a pointer to the builder for a sync config |
[in] | interval | Set the interval at which syncing occurs |
|
related |
Configures how often the peer will be synced with.
By default, the interval is not set. It is an error to call `aranya_sync_peer_config_build` before setting the interval with this function
[in,out] | cfg | a pointer to the builder for a sync config |
[in] | interval | Set the interval at which syncing occurs |
|
related |
Updates the config to disable immediate syncing with the peer.
Overrides `aranya_sync_peer_config_builder_set_sync_now` if invoked afterward.
By default, the peer is synced with immediately.
[in,out] | cfg | a pointer to the builder for a sync config |
|
related |
Updates the config to disable immediate syncing with the peer.
Overrides `aranya_sync_peer_config_builder_set_sync_now` if invoked afterward.
By default, the peer is synced with immediately.
[in,out] | cfg | a pointer to the builder for a sync config |
|
related |
Updates the config to enable immediate syncing with the peer.
Overrides `aranya_sync_peer_config_builder_set_sync_later` if invoked afterward.
By default, the peer is synced with immediately.
[in,out] | cfg | a pointer to the builder for a sync config |
|
related |
Updates the config to enable immediate syncing with the peer.
Overrides `aranya_sync_peer_config_builder_set_sync_later` if invoked afterward.
By default, the peer is synced with immediately.
[in,out] | cfg | a pointer to the builder for a sync config |