Motr  M0
m0_rpc_server_ctx Struct Reference

#include <rpclib.h>

Collaboration diagram for m0_rpc_server_ctx:
Collaboration graph

Data Fields

struct m0_net_xprt ** rsx_xprts
 
int rsx_xprts_nr
 
char ** rsx_argv
 
int rsx_argc
 
const char * rsx_log_file_name
 
struct m0_motr rsx_motr_ctx
 
FILE * rsx_log_file
 

Detailed Description

RPC server context structure.

Contains all required data to initialize an RPC server, using motr-setup API.

Definition at line 67 of file rpclib.h.

Field Documentation

◆ rsx_argc

int rsx_argc

number of elements in rsx_argv array

Definition at line 79 of file rpclib.h.

◆ rsx_argv

char** rsx_argv

ARGV-like array of CLI options to configure motr-setup, which is passed to m0_cs_setup_env()

Definition at line 77 of file rpclib.h.

◆ rsx_log_file

FILE* rsx_log_file

this is an internal variable, which is used by m0_rpc_server_stop() to close log file; it should not be initialized by a caller

Definition at line 90 of file rpclib.h.

◆ rsx_log_file_name

const char* rsx_log_file_name

Definition at line 81 of file rpclib.h.

◆ rsx_motr_ctx

struct m0_motr rsx_motr_ctx

an embedded motr context structure

Definition at line 84 of file rpclib.h.

◆ rsx_xprts

struct m0_net_xprt** rsx_xprts

a pointer to array of transports, which can be used by server

Definition at line 69 of file rpclib.h.

◆ rsx_xprts_nr

int rsx_xprts_nr

number of transports in array

Definition at line 71 of file rpclib.h.


The documentation for this struct was generated from the following file: