Motr  M0
entrypoint_fops.c File Reference
#include "lib/trace.h"
#include "ha/entrypoint_fops.h"
#include "ha/entrypoint_fops_xc.h"
#include "lib/memory.h"
#include "lib/string.h"
#include "fop/fop.h"
#include "rpc/rpc_opcodes.h"
#include "rpc/item.h"
#include "ha/entrypoint.h"
Include dependency graph for entrypoint_fops.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_HA
 

Functions

M0_INTERNAL void m0_ha_entrypoint_fops_init (void)
 
M0_INTERNAL void m0_ha_entrypoint_fops_fini (void)
 
M0_INTERNAL int m0_ha_entrypoint_req2fop (const struct m0_ha_entrypoint_req *req, struct m0_ha_entrypoint_req_fop *req_fop)
 
M0_INTERNAL int m0_ha_entrypoint_fop2req (const struct m0_ha_entrypoint_req_fop *req_fop, const char *rpc_endpoint, struct m0_ha_entrypoint_req *req)
 
M0_INTERNAL int m0_ha_entrypoint_fop2rep (const struct m0_ha_entrypoint_rep_fop *rep_fop, struct m0_ha_entrypoint_rep *rep)
 
M0_INTERNAL int m0_ha_entrypoint_rep2fop (const struct m0_ha_entrypoint_rep *rep, struct m0_ha_entrypoint_rep_fop *rep_fop)
 
M0_INTERNAL void m0_ha_entrypoint_rep_free (struct m0_ha_entrypoint_rep *rep)
 
M0_INTERNAL void m0_ha_entrypoint_req_free (struct m0_ha_entrypoint_req *req)
 
M0_INTERNAL int m0_ha_entrypoint_rep_copy (struct m0_ha_entrypoint_rep *to, struct m0_ha_entrypoint_rep *from)
 

Variables

struct m0_fop_type m0_ha_entrypoint_req_fopt
 
struct m0_fop_type m0_ha_entrypoint_rep_fopt