Top |
SnapdMaintenanceKind | kind | Read / Write / Construct Only |
gchar * | message | Read / Write / Construct Only |
A SnapdMaintenance contains maintenance information for the snapd daemon.
The current maintenance information can be retrieved using snapd_client_get_maintenance()
.
SnapdMaintenanceKind
snapd_maintenance_get_kind (SnapdMaintenance *maintenance
);
Get the kind of maintenance kind, e.g. SNAPD_MAINTENANCE_KIND_DAEMON_RESTART
.
Since: 1.45
const gchar *
snapd_maintenance_get_message (SnapdMaintenance *maintenance
);
Get the user readable message associate with the maintenance state.
Since: 1.45
typedef struct _SnapdMaintenance SnapdMaintenance;
SnapdMaintenance contains maintenance information.
Since: 1.45
“kind”
property“kind” SnapdMaintenanceKind
Maintenance kind.
Flags: Read / Write / Construct Only
Default value: SNAPD_MAINTENANCE_KIND_UNKNOWN
“message”
property“message” gchar *
User readable message.
Flags: Read / Write / Construct Only
Default value: NULL