smfi_setdbg Function


The smfi_setdbg function sets the debugging (tracing) level for the milter library.


#include <libmilter/mfapi.h>
int smfi_setdbg(
	int level;


The smfi_setdbg function sets the internal debugging level of the milter library to a new level, so that code details can be traced. A level of zero turns off debugging. The higher (more positive) the level, the more detailed the debugging. Six is the current, highest, and useful value.


Table 1. Arguments
Item Description
level The new debugging level.

Return values

The smfi_setdbg function returns the MI_SUCCESS value by default.