Top | ![]() |
![]() |
![]() |
![]() |
A SnapdConnection contains information about how a SnapdPlug is connected
to a SnapdSlot. Connections are queried using snapd_plug_get_connections()
and snapd_slot_get_connections()
.
const gchar *
snapd_connection_get_name (SnapdConnection *connection
);
Get the name of this connection (i.e. a slot or plug name).
const gchar *
snapd_connection_get_snap (SnapdConnection *connection
);
Get the snap this connection is on.
typedef struct _SnapdConnection SnapdConnection;
SnapdConnection is an opaque data structure and can only be accessed using the provided functions.