cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob a8734e2835840a864bdfa348908c563bc639aa3e 812 bytes (raw)
$ git show gl-env:mgmt.h	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
/*
 * Copyright (C) 2012-2016 all contributors <cmogstored-public@bogomips.org>
 * License: GPLv3 or later (see COPYING for details)
 */
struct mog_svc;
struct mog_wbuf;
struct mog_mgmt;

/* mgmt_parser.rl */
void mog_mgmt_init(struct mog_mgmt *, struct mog_svc *);
enum mog_parser_state mog_mgmt_parse(struct mog_mgmt *, char *buf, size_t len);
void mog_mgmt_reset_parser(struct mog_mgmt *);

/* mgmt_fn.c */
void mog_mgmt_fn_digest(struct mog_fd *, char *buf);
void mog_mgmt_fn_size(struct mog_mgmt *, char *buf);
void mog_mgmt_fn_blank(struct mog_mgmt *);
void mog_mgmt_fn_unknown(struct mog_mgmt *, char *buf);
void mog_mgmt_fn_watch_err(struct mog_mgmt *);
void mog_mgmt_fn_digest_emit(struct mog_fd *);
void mog_mgmt_fn_digest_err(struct mog_fd *);
void mog_mgmt_fn_aio_threads(struct mog_mgmt *, char *);

git clone https://yhbt.net/cmogstored.git