Motr  M0
type.h File Reference
#include "lib/tlist.h"
#include "lib/types.h"
#include "lib/mutex.h"
#include "fid/fid.h"
Include dependency graph for type.h:

Go to the source code of this file.

Data Structures

struct  m0_stob_types
 
struct  m0_stob_type
 
struct  m0_stob_type_ops
 

Macros

#define __MOTR_STOB_TYPE_H__
 

Functions

M0_INTERNAL int m0_stob_types_init (void)
 
M0_INTERNAL void m0_stob_types_fini (void)
 
M0_INTERNAL void m0_stob_type_register (struct m0_stob_type *type)
 
M0_INTERNAL void m0_stob_type_deregister (struct m0_stob_type *type)
 
M0_INTERNAL struct m0_stob_typem0_stob_type_by_dom_id (const struct m0_fid *id)
 
M0_INTERNAL struct m0_stob_typem0_stob_type_by_name (const char *name)
 
M0_INTERNAL uint8_t m0_stob_type_id_by_name (const char *name)
 
M0_INTERNAL uint8_t m0_stob_type_id_get (const struct m0_stob_type *type)
 
M0_INTERNAL const char * m0_stob_type_name_get (struct m0_stob_type *type)
 
M0_INTERNAL void m0_stob_type__dom_add (struct m0_stob_type *type, struct m0_stob_domain *dom)
 
M0_INTERNAL void m0_stob_type__dom_del (struct m0_stob_type *type, struct m0_stob_domain *dom)
 
M0_INTERNAL struct m0_stob_domainm0_stob_type__dom_find (struct m0_stob_type *type, const struct m0_fid *dom_id)
 
M0_INTERNAL struct m0_stob_domainm0_stob_type__dom_find_by_location (struct m0_stob_type *type, const char *location)
 

Macro Definition Documentation

◆ __MOTR_STOB_TYPE_H__

#define __MOTR_STOB_TYPE_H__

Definition at line 26 of file type.h.