M0_INTERNAL int m0_udb_add(struct m0_udb_ctxt *ctxt, const struct m0_udb_domain *edomain, const struct m0_udb_cred *external, const struct m0_udb_cred *internal)
M0_INTERNAL int m0_udb_ctxt_init(struct m0_udb_ctxt *ctxt)
M0_INTERNAL int m0_udb_del(struct m0_udb_ctxt *ctxt, const struct m0_udb_domain *edomain, const struct m0_udb_cred *external, const struct m0_udb_cred *internal)
static void udb_test(void)
enum m0_udb_cred_type uc_type
static struct m0_stob_domain * dom
struct m0_ut_suite udb_ut
M0_INTERNAL int m0_udb_e2i(struct m0_udb_ctxt *ctxt, const struct m0_udb_cred *external, struct m0_udb_cred *internal)
static void cred_init(struct m0_udb_cred *cred, enum m0_udb_cred_type type, struct m0_udb_domain *dom)
struct m0_udb_domain * uc_domain
static void cred_fini(struct m0_udb_cred *cred)
M0_INTERNAL int m0_udb_i2e(struct m0_udb_ctxt *ctxt, const struct m0_udb_cred *internal, struct m0_udb_cred *external)
M0_INTERNAL void m0_udb_ctxt_fini(struct m0_udb_ctxt *ctxt)