23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT 44 static bool ls =
false;
61 conf.mc_is_addb_init =
true;
62 conf.mc_is_oostore =
true;
63 conf.mc_is_read_verify =
false;
105 int main(
int argc,
char **argv)
117 M0_VOIDARG(
's',
"List all fids client can see",
122 LAMBDA(
void, (
const char *str) {
126 LAMBDA(
void, (
const char *str) {
130 LAMBDA(
void, (
const char *str) {
134 LAMBDA(
void, (
const char *str) {
139 "-p prof_opt -f proc_fid [-s]\n");
#define M0_GETOPTS(progname, argc, argv,...)
static struct m0_container container
int main(int argc, char **argv)
void m0_console_printf(const char *fmt,...)
void st_mt_inst(struct m0_client *client)
void m0_client_fini(struct m0_client *m0c, bool fini_m0)
M0_INTERNAL void m0_instance_setup(struct m0 *instance)
static struct m0_realm uber_realm
int m0_client_init(struct m0_client **m0c, struct m0_config *conf, bool init_m0)
const struct m0_uint128 M0_UBER_REALM
#define M0_VOIDARG(ch, desc, func)
static struct m0 instance
#define M0_STRINGARG(ch, desc, func)
static M0_UNUSED void print(struct m0_be_list *list)
struct m0_entity re_entity
static void ls_print(struct m0_fid *fid)
void m0_container_init(struct m0_container *con, struct m0_realm *parent, const struct m0_uint128 *id, struct m0_client *instance)
static struct m0_idx_dix_config dix_conf
void st_lsfid_inst(struct m0_client *client, void(*print)(struct m0_fid *))
M0_INTERNAL void m0_module_fini(struct m0_module *module, int level)
M0_INTERNAL int m0_module_init(struct m0_module *module, int level)