<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/rdflags.c">
<Name>LQT_StringToFlags</Name>
<Class>Tracing
<Purpose>
<P>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.</P>
<P>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
<SeeAlso>
LQT_StringToWordFlags
LQT_WordFlagsToString
</Function>
<Decl>
API char *
LQT_StringToFlags(String, Flagp, WordFlagNamePairArray, Separator)
    char *String;
    unsigned long *Flagp;
    t_FlagNamePair *WordFlagNamePairArray;
    char *Separator;
</Decl>
</Entry>
