Lines Matching refs:srv
205 struct fo_server *srv;
305 struct fo_server *srv,
309 assert_non_null(srv);
310 assert_int_equal(fo_get_server_port(srv), port);
311 assert_string_equal(fo_get_server_name(srv), name);
315 assert_true(fo_is_srv_lookup(srv));
405 struct fo_server *srv;
408 ret = fo_resolve_service_recv(req, req, &srv);
413 check_server(test_ctx, srv, 389, "ldap1.sssd.com");
417 fo_set_server_status(srv, SERVER_WORKING);
430 struct fo_server *srv;
433 ret = fo_resolve_service_recv(req, req, &srv);
438 check_server(test_ctx, srv, 389, "ldap1.sssd.com");
441 fo_set_server_status(srv, SERVER_NOT_WORKING);
454 struct fo_server *srv;
457 ret = fo_resolve_service_recv(req, req, &srv);
462 check_server(test_ctx, srv, 389, "ldap2.sssd.com");
465 fo_set_server_status(srv, SERVER_NOT_WORKING);
478 struct fo_server *srv;
481 ret = fo_resolve_service_recv(req, req, &srv);
503 struct fo_server *srv;
506 ret = fo_resolve_service_recv(req, req, &srv);
512 check_server(test_ctx, srv, 389, "ldap1.sssd.com");
570 ret = fo_resolve_service_recv(req, test_ctx, &test_ctx->srv);
576 check_server(test_ctx, test_ctx->srv, 389, "ldap1.sssd.com");
577 fo_set_server_status(test_ctx->srv, SERVER_WORKING);
607 struct fo_server *srv;
613 ret = fo_resolve_service_recv(req, req, &srv);
620 fo_set_server_status(test_ctx->srv, SERVER_WORKING);
625 check_server(test_ctx, srv, 389, "ldap2.sssd.com");
653 struct fo_server *srv;
656 ret = fo_resolve_service_recv(req, req, &srv);
661 check_server(test_ctx, srv, 389, "ldap1.sssd.com");
743 ret = fo_resolve_service_recv(req, test_ctx, &test_ctx->srv);
747 name = fo_get_server_name(test_ctx->srv);