2 * Copyright (C) 2012-2020 all contributors <cmogstored-public@yhbt.net>
3 * License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
9 unsigned long maxconns
;
11 const char *configfile
; /* expanded path */
12 const char *config
; /* command-line arg */
14 struct mog_addrinfo
*httplisten
;
15 struct mog_addrinfo
*mgmtlisten
;
16 struct mog_addrinfo
*httpgetlisten
; /* unique to cmogstored */
20 void mog_cfg_validate_or_die(struct mog_cfg
*cli
);
21 bool mog_cfg_validate_one(void *ent
, void *cli
);
22 bool mog_cfg_validate_multi(void *ent
, void *cli
);
23 bool mog_cfg_validate_daemon(void *ent
, void *nerr
);
24 void mog_cfg_die_if_cli_set(struct mog_cfg
*);
25 void mog_cfg_merge_defaults(struct mog_cfg
*);
26 void mog_cfg_check_server(struct mog_cfg
*);