Lines Matching refs:key
59 "usage : hal-get-property --udi <udi> --key <key> \n"
64 " --key Key of the property to get\n"
86 char *key = NULL;
106 {"key", 1, NULL, 0},
132 } else if (strcmp (opt, "key") == 0) {
133 key = strdup (optarg);
151 if (udi == NULL || key == NULL) {
189 type = libhal_device_get_property_type (hal_ctx, udi, key, &error);
202 str = libhal_device_get_property_string (hal_ctx, udi, key, &error);
213 libhal_device_get_property_int (hal_ctx, udi, key, &error));
220 (long long unsigned int) libhal_device_get_property_uint64 (hal_ctx, udi, key, &error));
226 libhal_device_get_property_double (hal_ctx, udi, key, &error));
232 libhal_device_get_property_bool (hal_ctx, udi, key, &error) ? "true" : "false");
240 if ((strlist = libhal_device_get_property_strlist (hal_ctx, udi, key, &error)) != NULL) {