Motr  M0
operation.h File Reference
#include "dtm/nucleus.h"
#include "dtm/update.h"
#include "dtm/update_xc.h"
Include dependency graph for operation.h:

Go to the source code of this file.

Data Structures

struct  m0_dtm_oper
 
struct  m0_dtm_oper_updates
 
struct  m0_dtm_oper_descr
 

Macros

#define __MOTR_DTM_OPERATION_H__
 

Enumerations

enum  m0_dtm_oper_flags { M0_DOF_CLOSED = 1 << 0, M0_DOF_LAST = 1 << 1, M0_DOF_SENT = 1 << 2 }
 

Functions

M0_INTERNAL bool m0_dtm_oper_invariant (const struct m0_dtm_oper *oper)
 
struct m0_dtm_oper_updates M0_XCA_DOMAIN (rpc)
 
M0_INTERNAL void m0_dtm_oper_init (struct m0_dtm_oper *oper, struct m0_dtm *dtm, struct m0_tl *uu)
 
M0_INTERNAL void m0_dtm_oper_fini (struct m0_dtm_oper *oper)
 
M0_INTERNAL void m0_dtm_oper_close (struct m0_dtm_oper *oper)
 
M0_INTERNAL void m0_dtm_oper_prepared (const struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem)
 
M0_INTERNAL void m0_dtm_oper_done (const struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem)
 
M0_INTERNAL void m0_dtm_oper_pack (struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem, struct m0_dtm_oper_descr *ode)
 
M0_INTERNAL void m0_dtm_oper_unpack (struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *ode)
 
M0_INTERNAL int m0_dtm_oper_build (struct m0_dtm_oper *oper, struct m0_tl *uu, const struct m0_dtm_oper_descr *ode)
 
M0_INTERNAL void m0_dtm_reply_pack (const struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *request, struct m0_dtm_oper_descr *reply)
 
M0_INTERNAL void m0_dtm_reply_unpack (struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *reply)
 
M0_INTERNAL struct m0_dtm_updatem0_dtm_oper_get (const struct m0_dtm_oper *oper, uint32_t label)
 

Variables

uint32_t ou_nr
 
struct m0_dtm_update_descrou_update
 
struct m0_dtm_oper_updates od_updates
 

Macro Definition Documentation

◆ __MOTR_DTM_OPERATION_H__

#define __MOTR_DTM_OPERATION_H__

Definition at line 27 of file operation.h.

Variable Documentation

◆ od_updates

struct m0_dtm_oper_updates od_updates

Definition at line 53 of file operation.h.

◆ ou_nr

uint32_t ou_nr

Definition at line 53 of file operation.h.

◆ ou_update

struct m0_dtm_update_descr* ou_update

Definition at line 54 of file operation.h.