bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue);
bool lp_set_cmdline(const char *pszParmName, const char *pszParmValue);
bool lp_set_option(const char *option);
-bool lp_is_default(int snum, struct parm_struct *parm);
bool dump_a_parameter(int snum, char *parm_name, FILE * f, bool isGlobal);
struct parm_struct *lp_get_parameter(const char *param_name);
bool lp_snum_ok(int iService);
}
-/***************************************************************************
- Return true if a local parameter is currently set to the global default.
-***************************************************************************/
-
-bool lp_is_default(int snum, struct parm_struct *parm)
-{
- return lpcfg_equal_parameter(parm->type,
- lp_parm_ptr(ServicePtrs[snum], parm),
- lp_parm_ptr(NULL, parm));
-}
-
/***************************************************************************
Display the contents of a single services record.
***************************************************************************/