Lines Matching defs:ctx
31 sss_sifp_fetch_object_by_attr(sss_sifp_ctx *ctx,
48 ret = sss_sifp_invoke_find_ex(ctx, path, iface_find, method, &object_path,
54 ret = sss_sifp_fetch_object(ctx, object_path, iface_object, &object);
64 sss_sifp_free_string(ctx, &object_path);
70 sss_sifp_fetch_object_by_name(sss_sifp_ctx *ctx,
78 return sss_sifp_fetch_object_by_attr(ctx, path, iface_find, iface_object,
84 sss_sifp_list_domains(sss_sifp_ctx *ctx,
99 ret = sss_sifp_invoke_list_ex(ctx, IFP_PATH, IFACE_IFP, "Domains",
108 domains = _alloc_zero(ctx, char *, size + 1);
116 ret = sss_sifp_fetch_attr(ctx, object_paths[i], IFACE_IFP_DOMAINS,
127 domains[i] = sss_sifp_strdup(ctx, name);
133 sss_sifp_free_attrs(ctx, &attrs);
143 sss_sifp_free_attrs(ctx, &attrs);
144 sss_sifp_free_string_array(ctx, &object_paths);
147 sss_sifp_free_string_array(ctx, &domains);
154 sss_sifp_fetch_domain_by_name(sss_sifp_ctx *ctx,
158 return sss_sifp_fetch_object_by_name(ctx, IFP_PATH, IFACE_IFP,
164 sss_sifp_fetch_user_by_uid(sss_sifp_ctx *ctx,
170 return sss_sifp_fetch_object_by_attr(ctx, IFP_PATH_USERS, IFACE_IFP_USERS,
176 sss_sifp_fetch_user_by_name(sss_sifp_ctx *ctx,
180 return sss_sifp_fetch_object_by_name(ctx, IFP_PATH_USERS, IFACE_IFP_USERS,