Getting Devices and Properties From a Namespace
David Zeuthen
david at fubar.dk
Mon May 30 00:18:45 PDT 2005
Hi,
On Sat, 2005-05-28 at 01:21 +0300, S.Çağlar Onur wrote:
> Hi;
>
> I'm a newbie with libhal, so please execuse me :). I want to know is
> there a clean way to filter just a single namespace of any "Device
> Properties" with hal-0.4.7, i read API but can't see any function to
> filter.
>
> Currently i'm getting whole device list with
> hal_device_get_all_properties(), iterate over it and using
> strstr( name_of_namespace, hal_psi_get_key() ) function to filter needed
> namespace from device.
Nope, you're right, you need to filter at the client side.
Cheers,
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list