enum_find_value
Description:
Search for a string value in a table of constants.
Parameters:
table |
A EnumMatch enum table of values |
string |
the string constant to search for, e.g. "desktop-gnome" |
Returns:
the enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG |
Namespace: Pk
Package: packagekit-glib2