Lines Matching defs:sss_nc_ctx

41 struct sss_nc_ctx {
47 typedef int (*ncache_set_byname_fn_t)(struct sss_nc_ctx *, bool,
50 static int sss_ncache_set_ent(struct sss_nc_ctx *ctx, bool permanent,
65 uint32_t local_timeout, struct sss_nc_ctx **_ctx)
67 struct sss_nc_ctx *ctx;
69 ctx = talloc_zero(memctx, struct sss_nc_ctx);
84 uint32_t sss_ncache_get_timeout(struct sss_nc_ctx *ctx)
89 static int sss_ncache_check_str(struct sss_nc_ctx *ctx, char *str)
145 static int sss_ncache_set_str(struct sss_nc_ctx *ctx, char *str,
192 static int sss_ncache_check_user_int(struct sss_nc_ctx *ctx, const char *domain,
209 static int sss_ncache_check_group_int(struct sss_nc_ctx *ctx,
226 static int sss_ncache_check_netgr_int(struct sss_nc_ctx *ctx,
243 static int sss_ncache_check_service_int(struct sss_nc_ctx *ctx,
264 typedef int (*ncache_check_byname_fn_t)(struct sss_nc_ctx *, const char *,
267 static int sss_cache_check_ent(struct sss_nc_ctx *ctx,
286 int sss_ncache_check_user(struct sss_nc_ctx *ctx, struct sss_domain_info *dom,
292 int sss_ncache_check_group(struct sss_nc_ctx *ctx, struct sss_domain_info *dom,
298 int sss_ncache_check_netgr(struct sss_nc_ctx *ctx, struct sss_domain_info *dom,
304 static int sss_ncache_set_service_int(struct sss_nc_ctx *ctx, bool permanent,
321 int sss_ncache_set_service_name(struct sss_nc_ctx *ctx, bool permanent,
338 int sss_ncache_check_service(struct sss_nc_ctx *ctx,struct sss_domain_info *dom,
353 int sss_ncache_set_service_port(struct sss_nc_ctx *ctx, bool permanent,
370 int sss_ncache_check_service_port(struct sss_nc_ctx *ctx,
389 int sss_ncache_check_uid(struct sss_nc_ctx *ctx, struct sss_domain_info *dom,
409 int sss_ncache_check_gid(struct sss_nc_ctx *ctx, struct sss_domain_info *dom,
429 int sss_ncache_check_sid(struct sss_nc_ctx *ctx, const char *sid)
443 int sss_ncache_check_cert(struct sss_nc_ctx *ctx, const char *cert)
458 static int sss_ncache_set_user_int(struct sss_nc_ctx *ctx, bool permanent,
479 static int sss_ncache_set_group_int(struct sss_nc_ctx *ctx, bool permanent,
500 static int sss_ncache_set_netgr_int(struct sss_nc_ctx *ctx, bool permanent,
517 static int sss_ncache_set_ent(struct sss_nc_ctx *ctx, bool permanent,
537 int sss_ncache_set_user(struct sss_nc_ctx *ctx, bool permanent,
543 int sss_ncache_set_group(struct sss_nc_ctx *ctx, bool permanent,
549 int sss_ncache_set_netgr(struct sss_nc_ctx *ctx, bool permanent,
555 int sss_ncache_set_uid(struct sss_nc_ctx *ctx, bool permanent,
579 int sss_ncache_set_gid(struct sss_nc_ctx *ctx, bool permanent,
603 int sss_ncache_set_sid(struct sss_nc_ctx *ctx, bool permanent, const char *sid)
617 int sss_ncache_set_cert(struct sss_nc_ctx *ctx, bool permanent,
666 int sss_ncache_reset_permanent(struct sss_nc_ctx *ctx)
677 errno_t sss_ncache_prepopulate(struct sss_nc_ctx *ncache,
966 struct sss_nc_ctx *ncache)