[virt-tools-list] [libosinfo v2] More type-specific entity value getters/setters

Michal Privoznik mprivozn at redhat.com
Thu Sep 27 13:05:51 UTC 2012


On 26.09.2012 04:11, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> Add:
> 
> * osinfo_entity_get_param_value_boolean_with_default
> * osinfo_entity_get_param_value_int64
> * osinfo_entity_get_param_value_int64_with_default
> * osinfo_entity_set_param_int64
> 
> Most of these methods already existed as private functions in media and
> resources subclasses. This patch puts them where they belong, exposes
> them in public API and renames them appropriately.
> ---
>  osinfo/libosinfo.syms     |  8 +++++++
>  osinfo/osinfo_entity.c    | 54 ++++++++++++++++++++++++++++++++++++++++++++++-
>  osinfo/osinfo_entity.h    |  8 +++++++
>  osinfo/osinfo_media.c     | 20 ++++--------------
>  osinfo/osinfo_resources.c | 51 ++++++++++++++++++--------------------------
>  5 files changed, 93 insertions(+), 48 deletions(-)

ACK

Michal




More information about the virt-tools-list mailing list