API char *
LQT_StringToFlags
(String, Flagp, WordFlagNamePairArray, Separator)
char *String;
unsigned long *Flagp;
t_FlagNamePair *WordFlagNamePairArray;
char *Separator;
Purpose
Tries to reverse the operation of LQT_FlagsToString. In other words, LQT_StringToFlags takes a string which it assumes to be a sequence of names of flags found in the given FlagNames array, separated by the given constant string, and returns the bitwise `or' of the Value members corresponding to the Names that are found.
In addition, a leading + or - is used to indicate that the following flags are to be added (with bitwise or) or removed (usinbg bitwise and on their negation) from the result.
Returns
a pointer to the first unconverted character in String, and the actual value in Flagp