26 #ifndef __MOTR_DTM_OPERATION_H__ 27 #define __MOTR_DTM_OPERATION_H__ 39 #include "dtm/update_xc.h" static struct m0_dtm_oper_descr ode[REM_NR][OPER_NR]
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_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 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_oper_unpack(struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *ode)
M0_INTERNAL void m0_dtm_oper_pack(struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem, struct m0_dtm_oper_descr *ode)
struct m0_dtm_update_descr * ou_update
M0_INTERNAL struct m0_dtm_update * m0_dtm_oper_get(const struct m0_dtm_oper *oper, uint32_t label)
M0_INTERNAL void m0_dtm_reply_unpack(struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *reply)
M0_INTERNAL void m0_dtm_oper_close(struct m0_dtm_oper *oper)
struct m0_dtm_oper_updates M0_XCA_DOMAIN(rpc)
M0_INTERNAL void m0_dtm_oper_fini(struct m0_dtm_oper *oper)
struct m0_dtm_oper_updates od_updates
static struct m0_dtm_oper_descr reply
M0_INTERNAL bool m0_dtm_oper_invariant(const struct m0_dtm_oper *oper)
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)