Method

SnapdPlugget_attribute_names

since: 1.3

Declaration [src]

GStrv
snapd_plug_get_attribute_names (
  SnapdPlug* plug,
  guint* length
)

Description [src]

Get the names of the attributes this plug has.

Available since: 1.3

Parameters

length

Type: guint*

Location to write number of attributes or NULL if not required.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: An array of utf8

A string array of attribute names. Free with g_strfreev().

The array is NULL-terminated.
Each element is a NUL terminated UTF-8 string.