Lines Matching +full:single +full:- +full:tt
11 <br> $Id: debug.html,v 1.9 2002-02-02 16:50:56 ca Exp $
21 Sendmail 8.11 and earlier has a <tt>-d</tt> option which
29 For example, <tt>sm_trace_heap</tt> controls the output of trace
30 messages from the sm heap package, while <tt>sm_check_heap</tt>
35 In sendmail 8.12, the <tt>-d</tt> flag is generalized
39 "-dANSI" is implemented using a libsm named debug category.
45 <tt> -dANSI </tt>
49 <tt> -dfoo_*.3 </tt>
53 <tt> -d0-99.1 </tt>
57 <tt> -dANSI,foo_*.3,0-99.1 </tt>
81 SM_DEBUG_T dbg = SM_DEBUG_INITIALIZER("name", "@(#)$Debug: name - description $");
90 All debug categories defined by libsm have names of the form <tt>sm_*</tt>.
92 <tt>*_trace_*</tt>.
94 <tt>*_check_*</tt>.
134 <tt> SM_DEBUG_INITIALIZER </tt>
140 "@(#)$Debug: ANSI - enable reverse video in debug output $");
157 <tt> void sm_debug_addsetting(char *pattern, int level) </tt>
169 <tt> void sm_debug_addsettings(char *settings) </tt>
171 This function is used to process the <tt>-d</tt> command line
174 comma-separated list of settings; each setting is a glob pattern,
180 <tt> bool sm_debug_active(SM_DEBUG_T *debug, int level) </tt>
182 This macro returns <tt>true</tt> if the activation level of
183 the statically initialized debug structure <tt>debug</tt>
186 when the result is <tt>false</tt>, only a single comparison
192 <tt>sm_debug_addsetting</tt>.
197 <tt> int sm_debug_level(SM_DEBUG_T *debug) </tt>
213 <tt> bool sm_debug_unknown(SM_DEBUG_T *debug) </tt>
232 The purpose of using <tt>sm_debug_unknown</tt> in the above example
236 program execution, and after a call to <tt>sm_debug_addsetting</tt>.
237 A side effect of calling <tt>sm_debug_active</tt> is that the
243 <tt> void sm_dprintf(char *fmt, ...) </tt>
254 <tt> void sm_dflush() </tt>
260 <tt> void sm_debug_setfile(SM_FILE_T *file) </tt>