mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
lib: Make pfh_daemon_config take a const default config
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
de9b7312f1
commit
e7a6dba21c
@ -23,7 +23,7 @@
|
||||
|
||||
void pfh_daemon_config(const char *daemon_name,
|
||||
struct pf_daemon_config *cfg,
|
||||
struct pf_daemon_config *default_cfg)
|
||||
const struct pf_daemon_config *default_cfg)
|
||||
{
|
||||
int min, max, rate, allow, life;
|
||||
|
||||
|
@ -39,7 +39,7 @@ struct pf_daemon_config {
|
||||
|
||||
void pfh_daemon_config(const char *daemon_name,
|
||||
struct pf_daemon_config *cfg,
|
||||
struct pf_daemon_config *default_cfg);
|
||||
const struct pf_daemon_config *default_cfg);
|
||||
|
||||
void pfh_manage_pool(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user