Top |
#define | AGS_CONTROLLER_GET_OBJ_MUTEX() |
AgsControllerResource * | ags_controller_resource_alloc () |
void | ags_controller_resource_free () |
void | ags_controller_resource_ref () |
void | ags_controller_resource_unref () |
void | ags_controller_add_resource () |
void | ags_controller_remove_resource () |
AgsControllerResource * | ags_controller_lookup_resource () |
gboolean | ags_controller_query_security_context () |
AgsController * | ags_controller_new () |
#define AGS_CONTROLLER_GET_OBJ_MUTEX(obj) (&(((AgsController *) obj)->obj_mutex))
AgsControllerResource * ags_controller_resource_alloc (gchar *group_id
,gchar *user_id
,guint access_mode
);
Allocated AgsControllerResource.
Since: 3.0.0
void
ags_controller_resource_free (AgsControllerResource *controller_resource
);
Free controller_resource
.
Since: 3.0.0
void
ags_controller_resource_ref (AgsControllerResource *controller_resource
);
Increase ref-count of controller_resource
.
Since: 3.0.0
void
ags_controller_resource_unref (AgsControllerResource *controller_resource
);
Decrease ref-count of controller_resource
and free it if ref-count drops to 0.
Since: 3.0.0
void ags_controller_add_resource (AgsController *controller
,gchar *resource_name
,AgsControllerResource *controller_resource
);
Add controller_resource
with key resource_name
to hash table.
controller |
the AgsController |
|
resource_name |
the resource name as string |
|
controller_resource |
the AgsControllerResource. |
[type gpointer] |
Since: 3.0.0
void ags_controller_remove_resource (AgsController *controller
,gchar *resource_name
);
Remove key resource_name
from hash table.
Since: 3.0.0
AgsControllerResource * ags_controller_lookup_resource (AgsController *controller
,gchar *resource_name
);
Lookup key resource_name
in hash table.
Since: 3.0.0
gboolean ags_controller_query_security_context (AgsController *controller
,GObject *security_context
,gchar *login
);
Query security_context
for login
.
Since: 3.0.0
AgsController * ags_controller_new ();
Instantiate new AgsController
Since: 3.0.0