summaryrefslogtreecommitdiff
path: root/osinfo/osinfo_device.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2010-08-25 17:41:57 +0100
committerDaniel P. Berrange <berrange@redhat.com>2010-08-25 18:06:21 +0100
commit66efa16841ab7921c2f8c87c13c33451742fa280 (patch)
tree94aa6cd532951efdfd706770d1fe83af4edd285c /osinfo/osinfo_device.h
parentbbd13806473e1e315009d285e4c538601c51a675 (diff)
downloadlibosinfo-66efa16841ab7921c2f8c87c13c33451742fa280.tar.gz
Add support for GObject introspection
Introspect the libosinfo API so that non-C language bindings can be automagically generated * osinfo/osinfo.h, osinfo/osinfo_dataread.c, osinfo/osinfo_db.h, osinfo/osinfo_device.h, osinfo/osinfo_devicelist.h, osinfo/osinfo_entity.h, osinfo/osinfo_filter.h, osinfo/osinfo_hypervisor.h, osinfo/osinfo_hypervisorlist.h, osinfo/osinfo_os.h, osinfo/osinfo_oslist.h: Add explicit includes to match build dependancies, to satisfy g-ir-scanner limitations. Rename enum values to allow them to be extracted with correct names
Diffstat (limited to 'osinfo/osinfo_device.h')
-rw-r--r--osinfo/osinfo_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/osinfo/osinfo_device.h b/osinfo/osinfo_device.h
index ad88557..37cae0e 100644
--- a/osinfo/osinfo_device.h
+++ b/osinfo/osinfo_device.h
@@ -5,6 +5,9 @@
* Represents a device in libosinfo.
*/
+#include <glib-object.h>
+#include <osinfo/osinfo_entity.h>
+
#ifndef __OSINFO_DEVICE_H__
#define __OSINFO_DEVICE_H__