Motr  M0
bulk_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "rpc/bulk.h"
#include "rpc/bulk_xc.h"
Include dependency graph for bulk_xc.c:

Go to the source code of this file.

Functions

M0_INTERNAL void m0_xc_rpc_bulk_init (void)
 
M0_INTERNAL void m0_xc_rpc_bulk_fini (void)
 

Variables

const struct m0_xcode_enum_val m0_rpc_bulk_op_states_data []
 
struct m0_xcode_enum m0_xc_m0_rpc_bulk_op_states_enum
 
const struct m0_xcode_enum_val m0_rpc_bulk_op_type_data []
 
struct m0_xcode_enum m0_xc_m0_rpc_bulk_op_type_enum
 

Function Documentation

◆ m0_xc_rpc_bulk_fini()

M0_INTERNAL void m0_xc_rpc_bulk_fini ( void  )

Definition at line 42 of file bulk_xc.c.

◆ m0_xc_rpc_bulk_init()

M0_INTERNAL void m0_xc_rpc_bulk_init ( void  )

Definition at line 38 of file bulk_xc.c.

Variable Documentation

◆ m0_rpc_bulk_op_states_data

const struct m0_xcode_enum_val m0_rpc_bulk_op_states_data[]
Initial value:
= {
{ .xev_idx = 0, .xev_name = "M0_RPC_BULK_OP_INITIATE", .xev_val = 0 },
{ .xev_idx = 1, .xev_name = "M0_RPC_BULK_OP_FINISH", .xev_val = 1 },
{ .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_rpc_bulk_op_states'." }
}

Definition at line 13 of file bulk_xc.c.

◆ m0_rpc_bulk_op_type_data

const struct m0_xcode_enum_val m0_rpc_bulk_op_type_data[]
Initial value:
= {
{ .xev_idx = 0, .xev_name = "M0_RPC_BULK_STORE", .xev_val = 1 },
{ .xev_idx = 1, .xev_name = "M0_RPC_BULK_LOAD", .xev_val = 2 },
{ .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_rpc_bulk_op_type'." }
}

Definition at line 25 of file bulk_xc.c.

◆ m0_xc_m0_rpc_bulk_op_states_enum

struct m0_xcode_enum m0_xc_m0_rpc_bulk_op_states_enum
Initial value:
= {
.xe_name = "m0_rpc_bulk_op_states",
.xe_nr = 2,
.xe_maxlen = 23
}
const struct m0_xcode_enum_val m0_rpc_bulk_op_states_data[]
Definition: bulk_xc.c:13

Definition at line 19 of file bulk_xc.c.

◆ m0_xc_m0_rpc_bulk_op_type_enum

struct m0_xcode_enum m0_xc_m0_rpc_bulk_op_type_enum
Initial value:
= {
.xe_name = "m0_rpc_bulk_op_type",
.xe_nr = 2,
.xe_maxlen = 17
}
const struct m0_xcode_enum_val m0_rpc_bulk_op_type_data[]
Definition: bulk_xc.c:25

Definition at line 31 of file bulk_xc.c.