Motr
M0
|
#include <sysexits.h>
#include "lib/trace.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/getopts.h"
#include "motr/init.h"
#include "rpc/rpclib.h"
#include "fop/fop.h"
#include "fid/fid.h"
#include "fis/fi_command_fops.h"
#include "conf/obj.h"
#include "module/instance.h"
#include "console/console.h"
#include "console/console_mesg.h"
#include "console/console_it.h"
#include "console/console_yaml.h"
#include "console/console_fop.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_OTHER |
#define | PROC_FT M0_CONF_PROCESS_TYPE.cot_ftype.ft_id |
Functions | |
static int | fop_info_show (uint32_t opcode) |
Iterate over FOP and print names of its members. More... | |
static int | fop_send_and_print (struct m0_rpc_client_ctx *cctx, uint32_t opcode, const char *fop_input) |
Build the RPC item using FOP (Embedded into item) and send it. More... | |
static void | usage (void) |
static int | console_init (void) |
static void | console_fini (void) |
int | main (int argc, char **argv) |
The service to connect to is specified at the command line. More... | |
Variables | |
bool | m0_console_verbose |
static uint32_t | timeout |
static const char * | usage_msg |