Function
PackageKitfilter_bitfield_from_string
since: 0.5.2
Declaration [src]
PkBitfield
pk_filter_bitfield_from_string (
const gchar* filters
)
Description [src]
Converts text representation to its enumerated type bitfield, or 0 for invalid.
Available since: 0.5.2
Parameters
filters-
Type:
const gchar*The enumerated constant value, e.g. “available;~gui”.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PkBitfield
The enumerated type values.