Lines Matching refs:key

200 	char *key;		     /**< ASCII string */
463 const char *key;
468 dbus_message_iter_get_basic (&dict_entry_iter, &key);
484 p->key = strdup (key);
485 if (p->key == NULL)
532 free (p->key);
568 property_set_lookup (const LibHalPropertySet *set, const char *key)
573 LIBHAL_CHECK_PARAM_VALID(key, "*key", NULL);
576 if (strcmp (key, p->key) == 0)
585 * @key: name of property to inspect
593 libhal_ps_get_type (const LibHalPropertySet *set, const char *key)
595 LibHalProperty *p = property_set_lookup (set, key);
598 LIBHAL_CHECK_PARAM_VALID(key, "*key", LIBHAL_PROPERTY_TYPE_INVALID);
600 p = property_set_lookup (set, key);
608 * @key: name of property to inspect
617 libhal_ps_get_string (const LibHalPropertySet *set, const char *key)
622 LIBHAL_CHECK_PARAM_VALID(key, "*key", NULL);
624 p = property_set_lookup (set, key);
633 * @key: name of property to inspect
640 libhal_ps_get_int32 (const LibHalPropertySet *set, const char *key)
645 LIBHAL_CHECK_PARAM_VALID(key, "*key", 0);
647 p = property_set_lookup (set, key);
656 * @key: name of property to inspect
663 libhal_ps_get_uint64 (const LibHalPropertySet *set, const char *key)
668 LIBHAL_CHECK_PARAM_VALID(key, "*key", 0);
670 p = property_set_lookup (set, key);
679 * @key: name of property to inspect
686 libhal_ps_get_double (const LibHalPropertySet *set, const char *key)
691 LIBHAL_CHECK_PARAM_VALID(key, "*key", 0.0);
693 p = property_set_lookup (set, key);
702 * @key: name of property to inspect
709 libhal_ps_get_bool (const LibHalPropertySet *set, const char *key)
714 LIBHAL_CHECK_PARAM_VALID(key, "*key", FALSE);
716 p = property_set_lookup (set, key);
725 * @key: name of property to inspect
732 libhal_ps_get_strlist (const LibHalPropertySet *set, const char *key)
737 LIBHAL_CHECK_PARAM_VALID(key, "*key", NULL);
739 p = property_set_lookup (set, key);
811 * Get the key of a property.
820 return iter->cur_prop->key;
983 char *key;
1001 dbus_message_iter_get_basic (&iter_struct, &key);
1009 key, removed,
1095 * @key: name of the property
1104 libhal_device_get_property_type (LibHalContext *ctx, const char *udi, const char *key, DBusError *error)
1123 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1153 * @key: name of the property
1164 libhal_device_get_property_strlist (LibHalContext *ctx, const char *udi, const char *key, DBusError *error)
1185 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1223 * @key: the name of the property
1234 const char *udi, const char *key, DBusError *error)
1257 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1302 * @key: name of the property
1311 const char *udi, const char *key, DBusError *error)
1332 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1356 "of type integer\n", __FILE__, __LINE__, key,
1373 * @key: name of the property
1382 const char *udi, const char *key, DBusError *error)
1403 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1426 "of type integer\n", __FILE__, __LINE__, key,
1443 * @key: name of the property
1452 const char *udi, const char *key, DBusError *error)
1473 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1497 "of type double\n", __FILE__, __LINE__, key, udi);
1513 * @key: name of the property
1522 const char *udi, const char *key, DBusError *error)
1543 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1567 "of type bool\n", __FILE__, __LINE__, key, udi);
1584 const char *key,
1635 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1678 * @key: name of the property
1690 const char *key,
1694 return libhal_device_set_property_helper (ctx, udi, key,
1703 * @key: name of the property
1714 const char *key, dbus_int32_t value, DBusError *error)
1716 return libhal_device_set_property_helper (ctx, udi, key,
1725 * @key: name of the property
1736 const char *key, dbus_uint64_t value, DBusError *error)
1738 return libhal_device_set_property_helper (ctx, udi, key,
1747 * @key: name of the property
1758 const char *key, double value, DBusError *error)
1760 return libhal_device_set_property_helper (ctx, udi, key,
1769 * @key: name of the property
1780 const char *key, dbus_bool_t value, DBusError *error)
1782 return libhal_device_set_property_helper (ctx, udi, key,
1792 * @key: name of the property
1802 const char *udi, const char *key, DBusError *error)
1804 return libhal_device_set_property_helper (ctx, udi, key, DBUS_TYPE_INVALID,
1813 * @key: name of the property
1825 const char *key,
1845 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1866 * @key: name of the property
1878 const char *key,
1898 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1919 * @key: name of the property
1931 const char *key,
1951 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
1972 * @key: name of the property
1984 const char *key,
2003 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
2410 * @key: name of the property
2419 const char *udi, const char *key, DBusError *error)
2440 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
2626 char *key;
2640 key = libhal_psi_get_key (&i);
2644 printf (" %s = '%s' (string)\n", key,
2648 printf (" %s = %d = 0x%x (int)\n", key,
2653 printf (" %s = %llu = 0x%llx (uint64)\n", key,
2658 printf (" %s = %s (bool)\n", key,
2663 printf (" %s = %g (double)\n", key,
2672 printf (" %s = [", key);
2683 printf (" *** unknown type for key %s\n", key);
2696 * @key: name of the property
2708 const char *key,
2731 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &key);
3723 char *key;
3795 * @key: key of property
3803 libhal_changeset_set_property_string (LibHalChangeSet *changeset, const char *key, const char *value)
3810 elem->key = strdup (key);
3811 if (elem->key == NULL) {
3820 free (elem->key);
3834 * @key: key of property
3842 libhal_changeset_set_property_int (LibHalChangeSet *changeset, const char *key, dbus_int32_t value)
3849 elem->key = strdup (key);
3850 if (elem->key == NULL) {
3867 * @key: key of property
3875 libhal_changeset_set_property_uint64 (LibHalChangeSet *changeset, const char *key, dbus_uint64_t value)
3882 elem->key = strdup (key);
3883 if (elem->key == NULL) {
3900 * @key: key of property
3908 libhal_changeset_set_property_double (LibHalChangeSet *changeset, const char *key, double value)
3915 elem->key = strdup (key);
3916 if (elem->key == NULL) {
3933 * @key: key of property
3941 libhal_changeset_set_property_bool (LibHalChangeSet *changeset, const char *key, dbus_bool_t value)
3948 elem->key = strdup (key);
3949 if (elem->key == NULL) {
3966 * @key: key of property
3974 libhal_changeset_set_property_strlist (LibHalChangeSet *changeset, const char *key, const char **value)
3984 elem->key = strdup (key);
3985 if (elem->key == NULL) {
3997 free (elem->key);
4010 free (elem->key);
4080 dbus_message_iter_append_basic (&sub2, DBUS_TYPE_STRING, &(elem->key));