JULEA
|
Data Structures | |
struct | JCredentials |
Typedefs | |
typedef struct JCredentials | JCredentials |
Functions | |
JCredentials * | j_credentials_new (void) |
JCredentials * | j_credentials_ref (JCredentials *credentials) |
void | j_credentials_unref (JCredentials *credentials) |
guint32 | j_credentials_get_user (JCredentials *credentials) |
guint32 | j_credentials_get_group (JCredentials *credentials) |
bson_t * | j_credentials_serialize (JCredentials *credentials) |
void | j_credentials_deserialize (JCredentials *credentials, bson_t const *b) |
typedef struct JCredentials JCredentials |
void j_credentials_deserialize | ( | JCredentials * | credentials, |
bson_t const * | b | ||
) |
Deserializes credentials.
credentials | credentials. |
b | A BSON object. |
guint32 j_credentials_get_group | ( | JCredentials * | credentials | ) |
Get the group id associated with the credentials
credentials | A credentials object. |
guint32 j_credentials_get_user | ( | JCredentials * | credentials | ) |
Get the user id associated with the credentials
credentials | A credentials object. |
JCredentials * j_credentials_new | ( | void | ) |
Create new credential for the current user.
JCredentials * j_credentials_ref | ( | JCredentials * | credentials | ) |
Increases the credential's reference count.
credentials | A credentials object. |
bson_t * j_credentials_serialize | ( | JCredentials * | credentials | ) |
Serializes credentials.
credentials | Credentials. |
void j_credentials_unref | ( | JCredentials * | credentials | ) |
Decreases the credential's reference count.
credentials | A credentials object. |