Method

SnapdPlughas_attribute

since: 1.3

Declaration [src]

gboolean
snapd_plug_has_attribute (
  SnapdPlug* plug,
  const gchar* name
)

Description [src]

Check if this plug has an attribute.

Available since: 1.3

Parameters

name

Type: const gchar*

An attribute name.

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

Return value

Type: gboolean

TRUE if this attribute exists.