Motr  M0
repair_cli.h File Reference
#include "rpc/rpc.h"
Include dependency graph for repair_cli.h:

Go to the source code of this file.

Data Structures

struct  rpc_ctx
 

Macros

#define __MOTR_SNS_CM_ST_REPAIR_CLI_H__
 

Enumerations

enum  { MAX_RPCS_IN_FLIGHT = 10, MAX_FILES_NR = 10, MAX_SERVERS = 1024 }
 

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

enum { ... }  M0_XCA_DOMAIN
 

Macro Definition Documentation

◆ __MOTR_SNS_CM_ST_REPAIR_CLI_H__

#define __MOTR_SNS_CM_ST_REPAIR_CLI_H__

Definition at line 26 of file repair_cli.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_RPCS_IN_FLIGHT 
MAX_FILES_NR 
MAX_SERVERS 

Definition at line 30 of file repair_cli.h.

Function Documentation

◆ repair_client_fini()

M0_INTERNAL void repair_client_fini ( void  )

Definition at line 55 of file repair_cli.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ repair_client_init()

M0_INTERNAL int repair_client_init ( void  )

Definition at line 42 of file repair_cli.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ repair_rpc_ctx_fini()

M0_INTERNAL void repair_rpc_ctx_fini ( struct rpc_ctx ctx)

Definition at line 71 of file repair_cli.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ repair_rpc_ctx_init()

M0_INTERNAL int repair_rpc_ctx_init ( struct rpc_ctx ctx,
const char *  sep 
)

Definition at line 62 of file repair_cli.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ repair_rpc_post()

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 
)

Definition at line 79 of file repair_cli.c.

Here is the call graph for this function:

Variable Documentation

◆ M0_XCA_DOMAIN

enum { ... } M0_XCA_DOMAIN