[Libosinfo] [libosinfo PATCH 0/2] Add API to get Images' OS Variants

Fabiano Fidêncio fidencio at redhat.com
Thu Apr 11 07:45:41 UTC 2019


As osinfo-db schema allows that, let's add some APIs here in order to
have it fully supported, as already done for medias and trees.

Fabiano Fidêncio (2):
  image: Add get_os_variants() API
  test-image: Expand the tests to consider variants

 osinfo/libosinfo.syms                         |  4 +
 osinfo/osinfo_image.c                         | 82 ++++++++++++++++++-
 osinfo/osinfo_image.h                         |  4 +
 osinfo/osinfo_loader.c                        | 19 ++++-
 osinfo/osinfo_os.c                            |  1 +
 .../dbdata/os/libosinfo.org/test-db-image.xml |  9 ++
 tests/test-image.c                            | 11 +++
 7 files changed, 128 insertions(+), 2 deletions(-)

-- 
2.20.1




More information about the Libosinfo mailing list