Function

AgsControllerResourcealloc

since: 3.0.0

Declaration [src]

AgsControllerResource*
ags_controller_resource_alloc (
  gchar* group_id,
  gchar* user_id,
  guint access_mode
)

Description [src]

Allocated AgsControllerResource-struct.

Available since: 3.0.0

Parameters

group_id

Type: gchar*

The group id.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
user_id

Type: gchar*

The user id.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
access_mode

Type: guint

The access mode.

Return value

Type: AgsControllerResource*

The newly allocated AgsControllerResource-struct.

The data is owned by the called function.
The return value can be NULL.