Motr  M0
m0_confc_ctx Struct Reference

#include <confc.h>

Collaboration diagram for m0_confc_ctx:
Collaboration graph

Data Fields

struct m0_confcfc_confc
 
struct m0_sm fc_mach
 
struct m0_sm_ast fc_ast
 
int fc_ast_datum
 
struct m0_conf_objfc_origin
 
struct m0_fid fc_path [M0_CONF_PATH_MAX+1]
 
struct m0_clink fc_clink
 
struct m0_conf_objfc_result
 
struct m0_rpc_itemfc_rpc_item
 
bool fc_finalized
 
uint64_t fc_magic
 

Detailed Description

Configuration retrieval context.

Definition at line 533 of file confc.h.

Field Documentation

◆ fc_ast

struct m0_sm_ast fc_ast

Asynchronous system trap, used by the implementation to schedule a transition of ->fc_mach state machine.

Definition at line 544 of file confc.h.

◆ fc_ast_datum

int fc_ast_datum

Provides AST's callback with an integer value.

Definition at line 547 of file confc.h.

◆ fc_clink

struct m0_clink fc_clink

Record of interest in ‘object loading completed’ or ‘object unpinned’ events.

Definition at line 566 of file confc.h.

◆ fc_confc

struct m0_confc* fc_confc

The confc instance this context belongs to.

Definition at line 535 of file confc.h.

◆ fc_finalized

bool fc_finalized

Finalized or not

Definition at line 580 of file confc.h.

◆ fc_mach

struct m0_sm fc_mach

Context state machine.

Definition at line 538 of file confc.h.

◆ fc_magic

uint64_t fc_magic

Magic number.

Definition at line 583 of file confc.h.

◆ fc_origin

struct m0_conf_obj* fc_origin

Origin of the requested path.

->fc_origin is not pinned unless it is opened by the application. Confc library does not take any special measures to pin this object for the duration of path traversal. See the note in Accessing configuration objects.

Definition at line 557 of file confc.h.

◆ fc_path

struct m0_fid fc_path[M0_CONF_PATH_MAX+1]

Path to the object being requested by the application.

Definition at line 560 of file confc.h.

◆ fc_result

struct m0_conf_obj* fc_result

Pointer to the requested configuration object.

The application should use m0_confc_ctx_result() instead of accessing this field directly.

Definition at line 574 of file confc.h.

◆ fc_rpc_item

struct m0_rpc_item* fc_rpc_item

RPC item to be delivered to confd.

Definition at line 577 of file confc.h.


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