Lines Matching defs:state_ctx

45     cmd_ctx->state_ctx = talloc_get_type(cli_ctx->state_ctx,
738 struct nss_state_ctx *state_ctx;
751 state_ctx = cmd_ctx->state_ctx;
759 state_ctx->netgrent.domain = 0;
760 state_ctx->netgrent.result = 0;
762 talloc_zfree(state_ctx->netgroup);
763 state_ctx->netgroup = talloc_strdup(state_ctx, netgroup);
764 if (state_ctx->netgroup == NULL) {
770 nss_ctx->netgrent, state_ctx->netgroup);
827 if (cmd_ctx->state_ctx->netgroup == NULL) {
841 cmd_ctx->enum_index = &cmd_ctx->state_ctx->netgrent;
845 cmd_ctx->state_ctx->netgroup);
879 cmd_ctx->state_ctx->netgroup,
951 struct nss_state_ctx *state_ctx;
954 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
957 &state_ctx->pwent, nss_protocol_fill_pwent,
963 struct nss_state_ctx *state_ctx;
965 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
967 return nss_endent(cli_ctx, &state_ctx->pwent);
1007 struct nss_state_ctx *state_ctx;
1010 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
1013 &state_ctx->grent, nss_protocol_fill_grent,
1019 struct nss_state_ctx *state_ctx;
1021 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
1023 return nss_endent(cli_ctx, &state_ctx->grent);
1052 struct nss_state_ctx *state_ctx;
1054 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
1055 talloc_zfree(state_ctx->netgroup);
1057 return nss_endent(cli_ctx, &state_ctx->netgrent);
1102 struct nss_state_ctx *state_ctx;
1105 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
1108 &state_ctx->svcent, nss_protocol_fill_svcent,
1114 struct nss_state_ctx *state_ctx;
1116 state_ctx = talloc_get_type(cli_ctx->state_ctx, struct nss_state_ctx);
1118 return nss_endent(cli_ctx, &state_ctx->grent);
1261 cli_ctx->state_ctx = talloc_zero(cli_ctx, struct nss_state_ctx);
1262 if (cli_ctx->state_ctx == NULL) {