Home
last modified time | relevance | path

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

/third_party/libwebsockets/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/
Dminimal-dbus-ws-proxy-testclient.c51 static struct lws_dbus_ctx_wsproxy_client *dbus_ctx; variable
143 if (dcwc == dbus_ctx) in cb_closing()
144 dbus_ctx = NULL; in cb_closing()
321 if (!dbus_ctx || dbus_ctx->state != LDCS_CONN_ONWARD) in sul_timer()
347 if (!dbus_connection_send_with_reply(dbus_ctx->ctx.conn, msg, in sul_timer()
348 &dbus_ctx->ctx.pc, in sul_timer()
356 dbus_pending_call_set_notify(dbus_ctx->ctx.pc, in sul_timer()
358 &dbus_ctx->ctx, NULL); in sul_timer()
362 lws_sul_schedule(context, 0, &dbus_ctx->sul, sul_timer, 2 * LWS_US_PER_SEC); in sul_timer()
404 dbus_ctx = create_dbus_client_conn(vh, 0, THIS_LISTEN_PATH); in main()
[all …]
/third_party/libwebsockets/minimal-examples/dbus-client/minimal-dbus-client/
Dminimal-dbus-client.c23 static struct lws_dbus_ctx *dbus_ctx; variable
80 if (ctx == dbus_ctx) in cb_closing()
81 dbus_ctx = NULL; in cb_closing()
252 dbus_ctx = create_dbus_client_conn(vh, 0, THIS_LISTEN_PATH); in main()
253 if (!dbus_ctx) in main()
256 if (remote_method_call(dbus_ctx)) in main()
265 destroy_dbus_client_conn(dbus_ctx); in main()
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-server/
Dmain.c31 static struct lws_dbus_ctx dbus_ctx, ctx_listener; variable
488 dbus_ctx.tsi = 0; in main()
490 ctx_listener.vh = dbus_ctx.vh = lws_create_vhost(context, &info); in main()
491 if (!dbus_ctx.vh) in main()
499 if (create_dbus_server_conn(&dbus_ctx, DBUS_BUS_SESSION)) in main()
517 destroy_dbus_server_conn(&dbus_ctx); in main()
/third_party/weston/libweston/
Dlauncher-logind.c67 struct wl_event_source *dbus_ctx; member
786 r = weston_dbus_open(loop, DBUS_BUS_SYSTEM, &wl->dbus, &wl->dbus_ctx); in launcher_logind_connect()
811 weston_dbus_close(wl->dbus, wl->dbus_ctx); in launcher_logind_connect()
836 weston_dbus_close(wl->dbus, wl->dbus_ctx); in launcher_logind_destroy()