Function
PackageKitOfflineActionfrom_string
since: 0.9.6
Declaration [src]
PkOfflineAction
pk_offline_action_from_string (
const gchar* action
)
Parameters
action-
Type:
const gchar*A string representation of a
PkOfflineAction, e.g. “reboot”.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PkOfflineAction
A PkOfflineAction, or PK_OFFLINE_ACTION_UNKNOWN for invalid.