Lines Matching refs:capability

270 	/** Device got a new capability */
273 /** Device got a new capability */
995 char *capability;
998 DBUS_TYPE_STRING, &capability,
1001 ctx->device_new_capability (ctx, udi, capability);
2864 * @capability: the capability name to add
2867 * Assign a capability to a device.
2869 * Returns: TRUE if the capability was added, FALSE if the device didn't exist
2873 const char *udi, const char *capability, DBusError *error)
2881 LIBHAL_CHECK_PARAM_VALID(capability, "*capability", FALSE);
2894 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &capability);
2918 * @capability: the capability name
2921 * Check if a device has a capability. The result is undefined if the
2924 * Returns: TRUE if the device has the capability, otherwise FALSE
2927 libhal_device_query_capability (LibHalContext *ctx, const char *udi, const char *capability, DBusError *error)
2935 LIBHAL_CHECK_PARAM_VALID(capability, "*capability", FALSE);
2942 if (strcmp (caps[i], capability) == 0) {
2956 * @capability: the capability name
2960 * Find devices with a given capability.
2966 const char *capability, int *num_devices, DBusError *error)
2975 LIBHAL_CHECK_PARAM_VALID(capability, "*capability", NULL);
2989 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &capability);
3394 * @callback: the function to call when a device gains a new capability
3396 * Set the callback for when a device gains a new capability.
3412 * @callback: the function to call when a device loses a capability
3414 * Set the callback for when a device loses a capability