25 #ifndef __MOTR_CAPA_CAPA_H__ 26 #define __MOTR_CAPA_CAPA_H__
M0_INTERNAL int m0_capa_auth(struct m0_capa_ctxt *ctxt, struct m0_object_capa *capa, enum m0_capa_operation op)
struct m0_capa_issuer * oc_owner
enum m0_capa_operation oc_opcode
struct m0_atomic64 oc_ref
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)
M0_INTERNAL int m0_capa_new(struct m0_object_capa *capa, enum m0_capa_entity_type type, enum m0_capa_operation opcode, void *data)
char oc_opaque[M0_CAPA_HMAC_MAX_LEN]
struct m0_capa_ctxt * oc_ctxt
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)
enum m0_capa_entity_type oc_type