Lines Matching defs:key
72 "usage : hal-set-property --udi <udi> --key <key>\n"
79 " --key Key of the property to set\n"
111 char *key = NULL;
134 {"key", 1, NULL, 0},
161 } else if (strcmp (opt, "key") == 0) {
162 key = strdup (optarg);
256 rc = libhal_device_remove_property (hal_ctx, udi, key, &error);
269 rc = libhal_device_set_property_string (hal_ctx, udi, key, str_value, &error);
272 rc = libhal_device_set_property_int (hal_ctx, udi, key, int_value, &error);
275 rc = libhal_device_set_property_uint64 (hal_ctx, udi, key, uint64_value, &error);
278 rc = libhal_device_set_property_double (hal_ctx, udi, key, double_value, &error);
281 rc = libhal_device_set_property_bool (hal_ctx, udi, key, bool_value, &error);
284 rc = libhal_device_property_strlist_prepend (hal_ctx, udi, key, str_value, &error);
287 rc = libhal_device_property_strlist_append (hal_ctx, udi, key, str_value, &error);
290 rc = libhal_device_property_strlist_remove (hal_ctx, udi, key, str_value, &error);