Motr  M0
m0_addb2_philter Struct Reference

#include <consumer.h>

Collaboration diagram for m0_addb2_philter:
Collaboration graph

Data Fields

bool(* ph_matches )(struct m0_addb2_philter *ph, const struct m0_addb2_record *rec)
 
void * ph_datum
 
struct m0_tlink ph_linkage
 
struct m0_tl ph_callback
 
uint64_t ph_magix
 

Detailed Description

A philter is a predicate and a list of call-backs, which can be attached to a source.

Definition at line 138 of file consumer.h.

Field Documentation

◆ ph_callback

struct m0_tl ph_callback

List of call-backs linked through m0_addb2_callback::ca_linkage.

Definition at line 147 of file consumer.h.

◆ ph_datum

void* ph_datum

Opaque datum, to be used by the predicate.

Definition at line 143 of file consumer.h.

◆ ph_linkage

struct m0_tlink ph_linkage

Linkage into m0_addb2_source::so_philter.

Definition at line 145 of file consumer.h.

◆ ph_magix

uint64_t ph_magix

Definition at line 148 of file consumer.h.

◆ ph_matches

bool(* ph_matches) (struct m0_addb2_philter *ph, const struct m0_addb2_record *rec)

Predicate function.

Definition at line 140 of file consumer.h.


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