Lines Matching refs:connection

254  * Context for connection to the HAL daemon. Opaque, use the
258 DBusConnection *connection; /**< D-BUS connection */
262 dbus_bool_t is_direct; /**< Whether the connection to hald is direct */
287 * @ctx: the context for the connection to hald
304 * @ctx: the context for the connection to hald
413 * @ctx: the context for the connection to hald
447 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
947 filter_func (DBusConnection * connection,
961 /*fprintf (stderr, "*** libhal filer_func: connection=%p obj_path=%s interface=%s method=%s\n",
962 connection,
1069 * @ctx: the context for the connection to hald
1102 reply = dbus_connection_send_with_reply_and_block (ctx->connection, message, -1, &_error);
1133 * @ctx: the context for the connection to hald
1168 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1191 * @ctx: the context for the connection to hald
1230 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1262 * @ctx: the context for the connection to hald
1303 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1339 * @ctx: the context for the connection to hald
1376 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1410 * @ctx: the context for the connection to hald
1447 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1480 * @ctx: the context for the connection to hald
1517 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1550 * @ctx: the context for the connection to hald
1587 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1696 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1716 * @ctx: the context for the connection to hald
1746 * @ctx: the context for the connection to hald
1772 * @ctx: the context for the connection to hald
1798 * @ctx: the context for the connection to hald
1824 * @ctx: the context for the connection to hald
1851 * @ctx: the context for the connection to hald
1876 * @ctx: the context for the connection to hald
1916 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1935 * @ctx: the context for the connection to hald
1975 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1994 * @ctx: the context for the connection to hald
2033 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2052 * @ctx: the context for the connection to hald
2091 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2111 * @ctx: the context for the connection to hald
2153 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2183 * @ctx: the context for the connection to hald
2215 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2235 * @ctx: the context for the connection to hald
2269 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2307 * @ctx: the context for the connection to hald
2353 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2372 * @ctx: the context for the connection to hald
2410 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2429 * @ctx: the context for the connection to hald
2464 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2497 * @ctx: the context for the connection to hald
2534 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2566 * @ctx: the context for the connection to hald
2603 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2622 * @ctx: the context for the connection to hald
2674 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2706 * @ctx: the context for the connection to hald
2788 * @ctx: the context for the connection to hald
2830 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2862 * @ctx: the context for the connection to hald
2897 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2916 * @ctx: the context for the connection to hald
2955 * @ctx: the context for the connection to hald
2992 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3023 * @ctx: the context for the connection to hald
3036 dbus_bus_add_match (ctx->connection,
3049 * @ctx: the context for the connection to hald
3074 dbus_bus_add_match (ctx->connection, buf, error);
3084 * @ctx: the context for the connection to hald
3105 dbus_bus_remove_match (ctx->connection, buf, error);
3142 ctx->connection = NULL;
3169 * @ctx: context to set connection for
3170 * @conn: DBus connection to use
3172 * Set DBus connection to use to talk to hald.
3174 * Returns: TRUE if connection was successfully set, FALSE otherwise
3184 ctx->connection = conn;
3190 * @ctx: context to get connection for
3192 * Get DBus connection used for talking to hald.
3194 * Returns: DBus connection to use or NULL
3201 return ctx->connection;
3207 * @ctx: Context for connection to hald (D-BUS connection should be set with libhal_ctx_set_dbus_connection)
3210 * Initialize the connection to hald.
3222 if (ctx->connection == NULL)
3226 hald_exists = dbus_bus_name_has_owner (ctx->connection, "org.freedesktop.Hal", &_error);
3237 if (!dbus_connection_add_filter (ctx->connection, filter_func, ctx, NULL)) {
3241 dbus_bus_add_match (ctx->connection,
3260 * Create an already initialized connection to hald. This function should only be used by HAL helpers.
3282 ctx->connection = dbus_connection_open (hald_addr, &_error);
3299 * @ctx: the context for the connection to hald
3302 * Shut down a connection to hald.
3304 * Returns: TRUE if connection successfully shut down, FALSE otherwise
3315 /*dbus_connection_unref (ctx->connection);*/
3318 dbus_bus_remove_match (ctx->connection,
3332 dbus_connection_remove_filter (ctx->connection, filter_func, ctx);
3357 * @ctx: the context for the connection to hald
3375 * @ctx: the context for the connection to hald
3393 * @ctx: the context for the connection to hald
3411 * @ctx: the context for the connection to hald
3429 * @ctx: the context for the connection to hald
3447 * @ctx: the context for the connection to hald
3488 * @ctx: the context for the connection to hald
3518 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3545 * @ctx: the context for the connection to hald
3576 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3603 * @ctx: the context for the connection to hald
3647 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3685 * @ctx: the context for the connection to hald
3722 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3747 * @ctx: the context for the connection to hald
3792 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
4153 * @ctx: the context for the connection to hald
4257 reply = dbus_connection_send_with_reply_and_block (ctx->connection,