Searched defs:fo_ctx (Results 1 - 5 of 5) sorted by relevance
/sssd/src/providers/ |
H A D | backend.h | 69 struct fo_ctx *fo_ctx; member in struct:be_failover_ctx
|
H A D | data_provider_fo.c | 85 ctx->be_fo->fo_ctx = fo_context_init(ctx->be_fo, &fopts); 86 if (!ctx->be_fo->fo_ctx) { 148 ret = fo_new_service(ctx->be_fo->fo_ctx, service_name, user_data_cmp, 224 bret = fo_set_srv_lookup_plugin(ctx->be_fo->fo_ctx, send_fn, recv_fn, pvt); 403 ctx->bctx->be_fo->fo_ctx, 469 struct be_failover_ctx *fo_ctx = bctx->be_fo; local 471 if (fo_ctx->primary_server_handler != NULL) { 489 fo_ctx->primary_server_handler = tevent_add_timer(ev, bctx, tv, 491 if (fo_ctx->primary_server_handler == NULL) { 534 ctx->be_fo->fo_ctx, [all...] |
H A D | fail_over.c | 53 struct fo_ctx { struct 68 struct fo_ctx *ctx; 102 struct fo_ctx *ctx; 142 struct fo_ctx * 145 struct fo_ctx *ctx; 147 ctx = talloc_zero(mem_ctx, struct fo_ctx); 422 fo_new_service(struct fo_ctx *ctx, const char *name, 465 fo_get_service(struct fo_ctx *ctx, const char *name, 481 get_server_common(TALLOC_CTX *mem_ctx, struct fo_ctx *ctx, const char *name, 514 create_server_common(TALLOC_CTX *mem_ctx, struct fo_ctx *ct 982 struct fo_ctx *fo_ctx; member in struct:resolve_service_state 1253 struct fo_ctx *fo_ctx; member in struct:resolve_srv_state 1657 fo_reset_services(struct fo_ctx *fo_ctx) argument [all...] |
/sssd/src/tests/ |
H A D | fail_over-tests.c | 46 struct fo_ctx *fo_ctx; member in struct:test_ctx 86 ctx->fo_ctx = fo_context_init(ctx, &fopts); 87 if (ctx->fo_ctx == NULL) { 118 ret = fo_new_service(ctx->fo_ctx, buf, NULL, &services[i]); 122 ret = fo_new_service(ctx->fo_ctx, "service_3", NULL, &service); 129 ret = fo_get_service(ctx->fo_ctx, buf, &service); 135 ret = fo_get_service(ctx->fo_ctx, buf, &service); 220 test_ctx->fo_ctx, service); 236 fail_if(fo_new_service(ctx->fo_ctx, "htt [all...] |
/sssd/src/tests/cmocka/ |
H A D | test_fo_srv.c | 199 struct fo_ctx *fo_ctx; member in struct:test_fo_ctx 240 test_ctx->fo_ctx = fo_context_init(test_ctx, &fopts); 241 assert_non_null(test_ctx->fo_ctx); 243 ret = fo_new_service(test_ctx->fo_ctx, "ldap", 276 ok = fo_set_srv_lookup_plugin(test_ctx->fo_ctx, 395 test_ctx->resolv, test_ctx->fo_ctx, 420 test_ctx->resolv, test_ctx->fo_ctx, 444 test_ctx->resolv, test_ctx->fo_ctx, 468 test_ctx->resolv, test_ctx->fo_ctx, [all...] |
Completed in 17 milliseconds