/* * Copyright (c) 2004 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. */ #include "sm/generic.h" SM_RCSID("@(#)$Id: ssprtcnf.c,v 1.6 2004/11/01 17:51:37 ca Exp $") #include "sm/types.h" #include "sm/io.h" #include "sm/sscnf.h" #include "sm/sscnfdef.h" #include "sm/sm-conf-prt.h" /* ** SS_PRT_CNF -- Print configuration data ** ** Parameters: ** ss_cnf -- SMTPS configuration context ** fp -- file for output ** all -- print also "global" config data? ** ** Returns: ** none. */ void ss_prt_cnf(ss_cnf_P ss_cnf, sm_file_T *fp, bool all) { if (all) (void) sm_conf_prt_conf(ss_global_defs, ss_cnf, fp); else (void) sm_conf_prt_conf(ss_defs, ss_cnf, fp); }