FreeBSD/contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c
/*
 * Read the new configuration file into a local list.  If the configuration
 * file is parsed OK, then apply the changes.
 */
Read the new configuration file into a local list.  If the configuration
file is parsed OK, then apply the changes.
Read the new configuration file into a local list . If the configuration file is parsed OK then apply the changes .
int
auditfilterd_conf(const char *filename, FILE *fp)
{
	struct auditfilter_module_list list;
	TAILQ_INIT(&list);
	if (auditfilterd_conf_read(filename, fp, &list) < 0)
		return (-1);
	auditfilterd_conf_apply(&list);
	return (0);
}
int auditfilterd_conf ( const char * filename , FILE * fp ) { struct auditfilter_module_list list ; TAILQ_INIT ( & list ) ; if ( auditfilterd_conf_read ( filename , fp , & list ) < 0 ) return ( -1 ) ; auditfilterd_conf_apply ( & list ) ; return ( 0 ) ; }
Read the new configuration file into a local list.
Read the new configuration file into a local list .