Motr
M0
|
#include "lib/assert.h"
#include "lib/memory.h"
#include "fop/fop.h"
#include "net/lnet/lnet.h"
#include "rpc/rpc.h"
#include "rpc/rpclib.h"
#include "repair_cli.h"
Go to the source code of this file.
Functions | |
M0_INTERNAL int | repair_client_init (void) |
M0_INTERNAL void | repair_client_fini (void) |
M0_INTERNAL int | repair_rpc_ctx_init (struct rpc_ctx *ctx, const char *sep) |
M0_INTERNAL void | repair_rpc_ctx_fini (struct rpc_ctx *ctx) |
M0_INTERNAL int | repair_rpc_post (struct m0_fop *fop, struct m0_rpc_session *session, const struct m0_rpc_item_ops *ri_ops, m0_time_t deadline) |
Variables | |
static struct m0_fid | process_fid = M0_FID_TINIT('r', 0, 1) |
static struct m0_net_domain | cl_ndom |
static struct m0_rpc_client_ctx | cl_ctx |
const char * | cl_ep_addr |
const char * | srv_ep_addr [MAX_SERVERS] |
M0_INTERNAL void repair_client_fini | ( | void | ) |
Definition at line 55 of file repair_cli.c.
M0_INTERNAL int repair_client_init | ( | void | ) |
Definition at line 42 of file repair_cli.c.
M0_INTERNAL void repair_rpc_ctx_fini | ( | struct rpc_ctx * | ctx | ) |
Definition at line 71 of file repair_cli.c.
M0_INTERNAL int repair_rpc_ctx_init | ( | struct rpc_ctx * | ctx, |
const char * | sep | ||
) |
Definition at line 62 of file repair_cli.c.
M0_INTERNAL int repair_rpc_post | ( | struct m0_fop * | fop, |
struct m0_rpc_session * | session, | ||
const struct m0_rpc_item_ops * | ri_ops, | ||
m0_time_t | deadline | ||
) |
|
static |
Definition at line 33 of file repair_cli.c.
const char* cl_ep_addr |
Definition at line 39 of file repair_cli.c.
|
static |
Definition at line 32 of file repair_cli.c.
|
static |
Definition at line 31 of file repair_cli.c.
const char* srv_ep_addr[MAX_SERVERS] |
Definition at line 40 of file repair_cli.c.