FreeBSD/contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c
/*
 * When the arguments for a module are changed, we notify the module through
 * a call to its reinit method, if any.  Return 0 on success, or -1 on
 * failure.
 */
When the arguments for a module are changed, we notify the module through
a call to its reinit method, if any.  Return 0 on success, or -1 on
failure.
When the arguments for a module are changed we notify the module through a call to its reinit method if any . Return 0 on success or - 1 on failure .
static int
auditfilter_module_reinit(struct auditfilter_module *am)
{
	if (am->am_reinit == NULL)
		return (0);
	if (am->am_reinit(am, am->am_argc, am->am_argv) !=
	    AUDIT_FILTER_SUCCESS) {
		warnx("auditfilter_module_reinit: %s: failed",
		    am->am_modulename);
		return (-1);
	}
	return (0);
}
static int auditfilter_module_reinit ( struct auditfilter_module * am ) { if ( am -> am_reinit == NULL ) return ( 0 ) ; if ( am -> am_reinit ( am , am -> am_argc , am -> am_argv ) != AUDIT_FILTER_SUCCESS ) { warnx ( " " , am -> am_modulename ) ; return ( -1 ) ; } return ( 0 ) ; }
When the arguments for a module are changed, we notify the module through
 a call to its reinit method, if any.
When the arguments for a module are changed we notify the module through a call to its reinit method if any .