Home
last modified time | relevance | path

Searched refs:conn_wspctx (Results 1 – 1 of 1) sorted by relevance

/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/
Dprotocol_lws_minimal_dbus_ws_proxy.c475 struct lws_dbus_ctx_wsproxy *conn_wspctx, /* the new conn context */ in new_conn() local
485 conn_wspctx = malloc(sizeof(*conn_wspctx)); in new_conn()
486 if (!conn_wspctx) in new_conn()
489 memset(conn_wspctx, 0, sizeof(*conn_wspctx)); in new_conn()
491 conn_wspctx->ctx.tsi = wspctx->ctx.tsi; in new_conn()
492 conn_wspctx->ctx.vh = wspctx->ctx.vh; in new_conn()
493 conn_wspctx->ctx.conn = conn; in new_conn()
494 conn_wspctx->vhd = vhd; /* let accepted connections also know the vhd */ in new_conn()
496 assert(conn_wspctx->vhd); in new_conn()
498 if (lws_dbus_connection_setup(&conn_wspctx->ctx, conn, cb_closing)) { in new_conn()
[all …]