![]() |
Diffusion C API 6.12.0
|
Structure supplied when issuing a diffusion_change_roles_with_session_id call. More...
#include <client-control.h>
Data Fields | |
| const SESSION_ID_T * | session_id |
| Identifies the client session for which the change will be applied. | |
| const SET_T * | roles_to_remove |
| A set of roles to be removed from the session. | |
| const SET_T * | roles_to_add |
| A set of roles to be added to the session. | |
| change_roles_with_session_id_cb | on_roles_changed |
| Callback when the roles have been successfully changed. | |
| ERROR_HANDLER_T | on_error |
| Callback to handle errors. Can be NULL. | |
| DISCARD_HANDLER_T | on_discard |
| Callback to handle discards. Can be NULL. | |
| void * | context |
| User supplied context. Can be NULL. | |
Structure supplied when issuing a diffusion_change_roles_with_session_id call.
| const SET_T* diffusion_change_roles_with_session_id_params_s::roles_to_add |
A set of roles to be added to the session.
If one or more roles from the list are already assigned, they are ignored.
| const SET_T* diffusion_change_roles_with_session_id_params_s::roles_to_remove |
A set of roles to be removed from the session.
If one or more roles from the list are not currently assigned, they are ignored.