Motr  M0
m0_fom_callback Struct Reference

#include <fom.h>

Collaboration diagram for m0_fom_callback:
Collaboration graph

Data Fields

struct m0_clink fc_clink
 
struct m0_sm_ast fc_ast
 
enum m0_fc_state fc_state
 
struct m0_fomfc_fom
 
bool(* fc_top )(struct m0_fom_callback *cb)
 
void(* fc_bottom )(struct m0_fom_callback *cb)
 

Detailed Description

Represents a call-back to be executed when some event of fom's interest happens.

Definition at line 441 of file fom.h.

Field Documentation

◆ fc_ast

struct m0_sm_ast fc_ast

AST to execute the call-back.

Definition at line 450 of file fom.h.

◆ fc_bottom

void(* fc_bottom) (struct m0_fom_callback *cb)

The bottom half of call-back. Never executed concurrently with the fom phase transition function.

Definition at line 463 of file fom.h.

◆ fc_clink

struct m0_clink fc_clink

This clink is registered with the channel where the event will be announced.

Definition at line 446 of file fom.h.

◆ fc_fom

struct m0_fom* fc_fom

Definition at line 452 of file fom.h.

◆ fc_state

enum m0_fc_state fc_state

Definition at line 451 of file fom.h.

◆ fc_top

bool(* fc_top) (struct m0_fom_callback *cb)

Optional filter function executed from the clink call-back to filter out some events. This is top half of call-back. It can be executed concurrently with fom phase transition function.

Definition at line 458 of file fom.h.


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