| Top |
| const gchar * | snapd_interface_get_name () |
| const gchar * | snapd_interface_get_summary () |
| const gchar * | snapd_interface_get_doc_url () |
| GPtrArray * | snapd_interface_get_plugs () |
| GPtrArray * | snapd_interface_get_slots () |
A SnapdInterface represents information about a particular interface type and the related plugs and slots provided by snaps on the system.
Available interfaces can be queried using
snapd_client_get_interfaces2_sync().
const gchar *
snapd_interface_get_name (SnapdInterface *interface);
Get the name of this interface.
Since: 1.48
const gchar *
snapd_interface_get_summary (SnapdInterface *interface);
Get the summary of this interface.
Since: 1.48
const gchar *
snapd_interface_get_doc_url (SnapdInterface *interface);
Get the documentation URL of this interface.
Since: 1.48
GPtrArray *
snapd_interface_get_plugs (SnapdInterface *interface);
Get the plugs matching this interface type.
Since: 1.48
GPtrArray *
snapd_interface_get_slots (SnapdInterface *interface);
Get the slots matching this interface type.
Since: 1.48
typedef struct _SnapdInterface SnapdInterface;
SnapdInterface contains information about a Snap interface.
Since: 1.48
“doc-url” property“doc-url” gchar *
Interface documentation URL.
Flags: Read / Write / Construct Only
Default value: NULL
“name” property“name” gchar *
Interface name.
Flags: Read / Write / Construct Only
Default value: NULL
“plugs” property“plugs” GPtrArray *
Plugs of this interface type.
Flags: Read / Write / Construct Only
“slots” property“slots” GPtrArray *
Slots of this interface type.
Flags: Read / Write / Construct Only
“summary” property“summary” gchar *
Interface summary.
Flags: Read / Write / Construct Only
Default value: NULL