Motr  M0
m0_bob_type Struct Reference

#include <bob.h>

Collaboration diagram for m0_bob_type:
Collaboration graph

Data Fields

const char * bt_name
 
int bt_magix_offset
 
uint64_t bt_magix
 
bool(* bt_check )(const void *bob)
 

Detailed Description

Branded object type specifies how run-time identification is made.

Definition at line 71 of file bob.h.

Field Documentation

◆ bt_check

bool(* bt_check) (const void *bob)

Optional check function. If provided, this function is called by m0_bob_check().

Definition at line 82 of file bob.h.

◆ bt_magix

uint64_t bt_magix

Magic value. Must be non zero.

Definition at line 77 of file bob.h.

◆ bt_magix_offset

int bt_magix_offset

Offset to the magic field.

Definition at line 75 of file bob.h.

◆ bt_name

const char* bt_name

Human-readable name used in error messages.

Definition at line 73 of file bob.h.


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