lq-text: LQT_SetTraceFlagsFromString

API char * LQT_SetTraceFlagsFromString (theString) char *theString;

Purpose

Attempts to set the lq-text trace flags by reading a string representation of them. The string must be in the format produced by LQT_Get­Trace­Flags­As­String; in other words, a sequence of words separated by the vertical bar. The various flag values are defined in the <lqtrace.h> header file, and may be combined (using bitwise or) in any combination

If the return value points to a NUL byte, the end of the string was reached without error; otherwise, it is up to the caller to determine whether the extra unconverted text was expected.

Returns

a pointer to the first unconverted character in the given string

See Also: