Lines Matching defs:context
425 p2 = (lws_ss_policy_t *)a->context->pss_policies;
627 * list just for destroying it when the context
636 * to keep hold of for context destruction
639 x->next = a->context->server_der_list;
640 a->context->server_der_list = x;
707 pin = a->context->pss_plugins;
1139 lws_ss_policy_parse_begin(struct lws_context *context, int overlay)
1152 args->ac = context->ac_policy;
1155 context->pss_policies = NULL;
1157 context->pol_args = args;
1158 args->context = context;
1162 lws_free_set_NULL(context->pol_args);
1174 lws_ss_policy_parse_abandon(struct lws_context *context)
1176 struct policy_cb_args *args = (struct policy_cb_args *)context->pol_args;
1191 x = context->server_der_list;
1201 lws_free_set_NULL(context->pol_args);
1203 context->server_der_list = NULL;
1250 lws_ss_policy_parse(struct lws_context *context, const uint8_t *buf, size_t len)
1252 struct policy_cb_args *args = (struct policy_cb_args *)context->pol_args;
1257 return lws_ss_policy_parse_file(context, (const char *)buf);
1267 lws_ss_policy_parse_abandon(context);
1274 lws_ss_policy_overlay(struct lws_context *context, const char *overlay)
1276 lws_ss_policy_parse_begin(context, 1);
1277 return lws_ss_policy_parse(context, (const uint8_t *)overlay,
1282 lws_ss_policy_get(struct lws_context *context)
1284 struct policy_cb_args *args = (struct policy_cb_args *)context->pol_args;
1293 lws_ss_auth_get(struct lws_context *context)
1295 struct policy_cb_args *args = (struct policy_cb_args *)context->pol_args;