bitfield_from_string
Description:
Converts text representation to its enumerated type bitfield
Parameters:
groups |
the enumerated constant value, e.g. "available;~gui" |
Returns:
The enumerated type values, or 0 for invalid |