Lines Matching refs:abs
153 lws_abs_bind_and_create_instance(const lws_abs_t *abs)
155 size_t size = sizeof(lws_abs_t) + abs->ap->alloc + abs->at->alloc;
164 ai = lws_malloc(size, "abs inst");
168 *ai = *abs;
194 ai->ati = (char *)ai->api + abs->ap->alloc;
217 * the bind if it's otherwise idle. We give the parent abs
297 lws_abs_t *abs = lws_zalloc(sizeof(*abs), __func__);
302 if (!abs)
314 abs->ap = lws_abs_protocol_get_by_name(tmp);
315 if (!abs->ap)
329 abs->at = lws_abs_transport_get_by_name(tmp);
330 if (!abs->at)
333 abs->vh = vhost;
334 abs->ap_tokens = ap_tokens;
335 abs->at_tokens = at_tokens;
336 abs->seq = seq;
337 abs->opaque_user_data = opaque_user_data;
341 return abs;
344 lwsl_err("%s: bad abs path '%s'\n", __func__, abstract_path);
345 lws_free_set_NULL(abs);