Lines Matching refs:connection

223  * Context for connection to the HAL daemon. Opaque, use the
227 DBusConnection *connection; /**< D-BUS connection */
231 dbus_bool_t is_direct; /**< Whether the connection to hald is direct */
256 * @ctx: the context for the connection to hald
273 * @ctx: the context for the connection to hald
378 * @ctx: the context for the connection to hald
411 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
911 filter_func (DBusConnection * connection,
1028 * @ctx: the context for the connection to hald
1061 reply = dbus_connection_send_with_reply_and_block (ctx->connection, message, -1, &_error);
1093 * @ctx: the context for the connection to hald
1126 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1151 * @ctx: the context for the connection to hald
1188 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1221 * @ctx: the context for the connection to hald
1260 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1300 * @ctx: the context for the connection to hald
1335 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1371 * @ctx: the context for the connection to hald
1406 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1441 * @ctx: the context for the connection to hald
1476 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1511 * @ctx: the context for the connection to hald
1546 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1655 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1676 * @ctx: the context for the connection to hald
1701 * @ctx: the context for the connection to hald
1723 * @ctx: the context for the connection to hald
1745 * @ctx: the context for the connection to hald
1767 * @ctx: the context for the connection to hald
1790 * @ctx: the context for the connection to hald
1811 * @ctx: the context for the connection to hald
1848 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1864 * @ctx: the context for the connection to hald
1901 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1917 * @ctx: the context for the connection to hald
1954 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
1970 * @ctx: the context for the connection to hald
2006 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2023 * @ctx: the context for the connection to hald
2064 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2094 * @ctx: the context for the connection to hald
2125 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2147 * @ctx: the context for the connection to hald
2181 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2220 * @ctx: the context for the connection to hald
2264 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2283 * @ctx: the context for the connection to hald
2320 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2339 * @ctx: the context for the connection to hald
2373 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2408 * @ctx: the context for the connection to hald
2443 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2477 * @ctx: the context for the connection to hald
2512 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2531 * @ctx: the context for the connection to hald
2580 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2614 * @ctx: the context for the connection to hald
2695 * @ctx: the context for the connection to hald
2735 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2769 * @ctx: the context for the connection to hald
2802 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2822 * @ctx: the context for the connection to hald
2859 * @ctx: the context for the connection to hald
2895 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
2928 * @ctx: the context for the connection to hald
2941 dbus_bus_add_match (ctx->connection,
2954 * @ctx: the context for the connection to hald
2978 dbus_bus_add_match (ctx->connection, buf, error);
2988 * @ctx: the context for the connection to hald
3008 dbus_bus_remove_match (ctx->connection, buf, error);
3045 ctx->connection = NULL;
3072 * @ctx: context to set connection for
3073 * @conn: DBus connection to use
3075 * Set DBus connection to use to talk to hald.
3077 * Returns: TRUE if connection was successfully set, FALSE otherwise
3087 ctx->connection = conn;
3093 * @ctx: context to get connection for
3095 * Get DBus connection used for talking to hald.
3097 * Returns: DBus connection to use or NULL
3104 return ctx->connection;
3110 * @ctx: Context for connection to hald (D-BUS connection should be set with libhal_ctx_set_dbus_connection)
3113 * Initialize the connection to hald.
3125 if (ctx->connection == NULL)
3129 hald_exists = dbus_bus_name_has_owner (ctx->connection, "org.freedesktop.Hal", &_error);
3140 if (!dbus_connection_add_filter (ctx->connection, filter_func, ctx, NULL)) {
3144 dbus_bus_add_match (ctx->connection,
3163 * Create an already initialized connection to hald. This function should only be used by HAL helpers.
3185 ctx->connection = dbus_connection_open (hald_addr, &_error);
3202 * @ctx: the context for the connection to hald
3205 * Shut down a connection to hald.
3207 * Returns: TRUE if connection successfully shut down, FALSE otherwise
3218 /*dbus_connection_unref (ctx->connection);*/
3221 dbus_bus_remove_match (ctx->connection,
3235 dbus_connection_remove_filter (ctx->connection, filter_func, ctx);
3260 * @ctx: the context for the connection to hald
3278 * @ctx: the context for the connection to hald
3296 * @ctx: the context for the connection to hald
3314 * @ctx: the context for the connection to hald
3332 * @ctx: the context for the connection to hald
3350 * @ctx: the context for the connection to hald
3391 * @ctx: the context for the connection to hald
3420 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3450 * @ctx: the context for the connection to hald
3480 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3510 * @ctx: the context for the connection to hald
3551 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3581 * @ctx: the context for the connection to hald
3617 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
3645 * @ctx: the context for the connection to hald
3688 reply = dbus_connection_send_with_reply_and_block (ctx->connection,
4028 * @ctx: the context for the connection to hald
4131 reply = dbus_connection_send_with_reply_and_block (ctx->connection,