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
AranyaRole Struct Reference

A role. More...

#include <aranya-client.h>

Related Symbols

(Note that these are not member symbols.)

AranyaError aranya_role_cleanup (struct AranyaRole *ptr)
 Releases any resources associated with ptr.
 
AranyaError aranya_role_get_id (const struct AranyaRole *role, struct AranyaRoleId *__output)
 Get ID of role.
 
AranyaError aranya_role_get_id_ext (const struct AranyaRole *role, struct AranyaRoleId *__output, struct AranyaExtError *__ext_err)
 Get ID of role.
 
AranyaError aranya_role_get_name (const struct AranyaRole *role, const char **__output)
 Get name of role.
 
AranyaError aranya_role_get_author (const struct AranyaRole *role, struct AranyaDeviceId *__output)
 Get the author of a role.
 
AranyaError aranya_role_get_author_ext (const struct AranyaRole *role, struct AranyaDeviceId *__output, struct AranyaExtError *__ext_err)
 Get the author of a role.
 

Detailed Description

A role.

Friends And Related Symbol Documentation

◆ aranya_role_cleanup()

AranyaError aranya_role_cleanup ( struct AranyaRole ptr)
related

Releases any resources associated with ptr.

ptr must either be null or initialized by ::aranya_role_init.

◆ aranya_role_get_author()

AranyaError aranya_role_get_author ( const struct AranyaRole role,
struct AranyaDeviceId __output 
)
related

Get the author of a role.

Parameters
[in]rolethe role

◆ aranya_role_get_author_ext()

AranyaError aranya_role_get_author_ext ( const struct AranyaRole role,
struct AranyaDeviceId __output,
struct AranyaExtError __ext_err 
)
related

Get the author of a role.

Parameters
[in]rolethe role

◆ aranya_role_get_id()

AranyaError aranya_role_get_id ( const struct AranyaRole role,
struct AranyaRoleId __output 
)
related

Get ID of role.

Parameters
[in]rolethe role

◆ aranya_role_get_id_ext()

AranyaError aranya_role_get_id_ext ( const struct AranyaRole role,
struct AranyaRoleId __output,
struct AranyaExtError __ext_err 
)
related

Get ID of role.

Parameters
[in]rolethe role

◆ aranya_role_get_name()

AranyaError aranya_role_get_name ( const struct AranyaRole role,
const char **  __output 
)
related

Get name of role.

The resulting string must not be freed.

Parameters
[in]rolethe role

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