Data Structures | |
struct | dsmlib_client_desc |
Typedefs | |
typedef struct dsmlib_client_desc | dsmlib_client_desc_t |
Functions | |
L4_CV int | dsmlib_add_client (dsmlib_ds_desc_t *ds, l4_threadid_t client, l4_uint32_t rights) |
Add client to dataspace. | |
L4_CV int | dsmlib_remove_client (dsmlib_ds_desc_t *ds, l4_threadid_t client) |
Remove dataspace client. | |
L4_CV int | dsmlib_remove_all_clients (dsmlib_ds_desc_t *ds) |
Remove all clients from dataspace. | |
L4_CV int | dsmlib_is_client (const dsmlib_ds_desc_t *ds, l4_threadid_t client) |
Check if someone is a client of a dataspace. | |
L4_CV int | dsmlib_set_rights (const dsmlib_ds_desc_t *ds, l4_threadid_t client, l4_uint32_t rights) |
Set client rights. | |
L4_CV l4_uint32_t | dsmlib_get_rights (const dsmlib_ds_desc_t *ds, l4_threadid_t client) |
Return client rights. | |
L4_CV int | dsmlib_check_rights (const dsmlib_ds_desc_t *ds, l4_threadid_t client, l4_uint32_t rights) |
Check client rights. |
typedef struct dsmlib_client_desc dsmlib_client_desc_t |
Dataspace client descriptor
L4_CV int dsmlib_add_client | ( | dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client, | |||
l4_uint32_t | rights | |||
) |
Add client to dataspace.
ds | Dataspace descriptor | |
client | Client thread id | |
rights | Rights bit mask (user defined) |
L4_CV int dsmlib_remove_client | ( | dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client | |||
) |
Remove dataspace client.
ds | Dataspace descriptor | |
client | Client thread id |
L4_CV int dsmlib_remove_all_clients | ( | dsmlib_ds_desc_t * | ds | ) |
Remove all clients from dataspace.
ds | Dataspace descriptor |
L4_CV int dsmlib_is_client | ( | const dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client | |||
) |
Check if someone is a client of a dataspace.
ds | Dataspace descriptor | |
client | Client thread id |
L4_CV int dsmlib_set_rights | ( | const dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client, | |||
l4_uint32_t | rights | |||
) |
Set client rights.
ds | Dataspace descriptor | |
client | Client thread id | |
rights | Rights bit mask (user defined) |
L4_CV l4_uint32_t dsmlib_get_rights | ( | const dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client | |||
) |
Return client rights.
ds | Dataspace descriptor | |
client | Client thread id |
L4_CV int dsmlib_check_rights | ( | const dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client, | |||
l4_uint32_t | rights | |||
) |
Check client rights.
ds | Dataspace descriptor | |
client | Client thread id | |
rights | Rights bit mask |