lq-text: LQT_GetGivenTraceFlagsAsString

API char * LQT_GetGivenTraceFlagsAsString (Flags) t_TraceFlag Flags;

Purpose

This function works like LQT_Get­Trace­Flags­As­String, except that it uses the given flags instead of the current value of the lq-text trace flags.

The caller should not attempt to write into, or free, the result string.

The flags are defined in the <lqtrace.h> header file.

Returns

non-zero if one or more flags satisfies the constraints

See Also:

Notes

You can get a rather long line giving all possible flags using the C expression (t_TraceFlag) ~(unsigned long) 0, which provides a number with all bits set, as an argument to LQT_Get­Given­Trace­Flags­As­String.