Top | ![]() |
![]() |
![]() |
![]() |
Functions
#define | AGS_CONTROLLER_GET_OBJ_MUTEX() |
AgsControllerResource * | ags_controller_resource_alloc () |
|
ags_controller_resource_free () |
|
ags_controller_resource_ref () |
|
ags_controller_resource_unref () |
|
ags_controller_add_resource () |
|
ags_controller_remove_resource () |
AgsControllerResource * | ags_controller_lookup_resource () |
|
ags_controller_query_security_context () |
AgsController * | ags_controller_new () |
#define | AGS_CONTROLLER() |
#define | AGS_CONTROLLER_CLASS() |
#define | AGS_CONTROLLER_GET_CLASS() |
#define | AGS_IS_CONTROLLER() |
#define | AGS_IS_CONTROLLER_CLASS() |
|
ags_controller_get_type () |
Types and Values
#define | AGS_CONTROLLER_BASE_PATH |
struct | AgsControllerResource |
#define | AGS_TYPE_CONTROLLER |
struct | AgsController |
struct | AgsControllerClass |
Functions
AGS_CONTROLLER_GET_OBJ_MUTEX()
#define AGS_CONTROLLER_GET_OBJ_MUTEX(obj) (&(((AgsController *) obj)->obj_mutex))
ags_controller_resource_alloc ()
AgsControllerResource * ags_controller_resource_alloc (,
gchar *group_id,
gchar *user_id);
guint access_mode
Allocated
Since:
ags_controller_resource_free ()
void ags_controller_resource_free (AgsControllerResource *controller_resource
);
Free controller_resource
.
Since:
ags_controller_resource_ref ()
void ags_controller_resource_ref (AgsControllerResource *controller_resource
);
Increase ref-count of controller_resource
.
Since:
ags_controller_resource_unref ()
void ags_controller_resource_unref (AgsControllerResource *controller_resource
);
Decrease ref-count of controller_resource
and free it if ref-count drops to 0.
Since:
ags_controller_add_resource ()
void ags_controller_add_resource (AgsController *controller
,,
gchar *resource_nameAgsControllerResource *controller_resource
);
Add controller_resource
with key resource_name
to hash table.
Parameters
controller |
the AgsController |
|
resource_name |
the resource name as string |
|
controller_resource |
the |
[type gpointer] |
Since:
ags_controller_remove_resource ()
void ags_controller_remove_resource (AgsController *controller
,);
gchar *resource_name
Remove key resource_name
from hash table.
Since:
ags_controller_lookup_resource ()
AgsControllerResource * ags_controller_lookup_resource (AgsController *controller
,);
gchar *resource_name
Lookup key resource_name
in hash table.
Since:
ags_controller_query_security_context ()
gboolean ags_controller_query_security_context (AgsController *controller
,,
GObject *security_context);
gchar *login
Query security_context
for login
.
Since:
ags_controller_new ()
AgsController * ags_controller_new ();
Instantiate new AgsController
Since:
AGS_CONTROLLER()
#define AGS_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONTROLLER, AgsController))
AGS_CONTROLLER_CLASS()
#define AGS_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CONTROLLER, AgsControllerClass))
AGS_CONTROLLER_GET_CLASS()
#define AGS_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CONTROLLER, AgsControllerClass))
AGS_IS_CONTROLLER()
#define AGS_IS_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CONTROLLER))
AGS_IS_CONTROLLER_CLASS()
#define AGS_IS_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CONTROLLER))