M0_INTERNAL int m0_capa_auth(struct m0_capa_ctxt *ctxt, struct m0_object_capa *capa, enum m0_capa_operation op)
static void cog_fini(struct capa_object_guard *cog)
M0_INTERNAL int m0_capa_ctxt_init(struct m0_capa_ctxt *ctxt)
M0_INTERNAL void m0_capa_put(struct m0_capa_ctxt *ctxt, struct m0_object_capa *capa)
static void capa_test(void)
struct m0_ut_suite capa_ut
M0_INTERNAL int m0_capa_new(struct m0_object_capa *capa, enum m0_capa_entity_type type, enum m0_capa_operation opcode, void *data)
static int cog_init(struct capa_object_guard *cog)
M0_INTERNAL int m0_capa_get(struct m0_capa_ctxt *ctxt, struct m0_capa_issuer *owner, struct m0_object_capa *capa)
M0_INTERNAL void m0_capa_ctxt_fini(struct m0_capa_ctxt *ctxt)