cmogstored 1.8.1 - use default system stack size
[cmogstored.git] / mgmt.h
blobce7c4427c656a8cf46b7ac14a81776c66f84552d
1 /*
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>
4 */
5 struct mog_svc;
6 struct mog_wbuf;
7 struct mog_mgmt;
9 /* mgmt_parser.rl */
10 void mog_mgmt_init(struct mog_mgmt *, struct mog_svc *);
11 enum mog_parser_state mog_mgmt_parse(struct mog_mgmt *, char *buf, size_t len);
12 void mog_mgmt_reset_parser(struct mog_mgmt *);
14 /* mgmt_fn.c */
15 void mog_mgmt_fn_digest(struct mog_fd *, char *buf);
16 void mog_mgmt_fn_size(struct mog_mgmt *, char *buf);
17 void mog_mgmt_fn_blank(struct mog_mgmt *);
18 void mog_mgmt_fn_unknown(struct mog_mgmt *, char *buf);
19 void mog_mgmt_fn_watch_err(struct mog_mgmt *);
20 void mog_mgmt_fn_digest_emit(struct mog_fd *);
21 void mog_mgmt_fn_digest_err(struct mog_fd *);
22 void mog_mgmt_fn_aio_threads(struct mog_mgmt *, char *);