[virt-tools-list] [libosinfo 1/2] Ask gtkdoc-scan to generate the sections file

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Tue Nov 1 17:00:37 UTC 2011


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

This frees us from maintaining the sections file.
---
 docs/reference/Libosinfo-sections.txt |  515 ---------------------------------
 docs/reference/Libosinfo.types        |   24 +-
 docs/reference/Makefile.am            |    2 +-
 3 files changed, 14 insertions(+), 527 deletions(-)
 delete mode 100644 docs/reference/Libosinfo-sections.txt

diff --git a/docs/reference/Libosinfo-sections.txt b/docs/reference/Libosinfo-sections.txt
deleted file mode 100644
index ad08dd2..0000000
--- a/docs/reference/Libosinfo-sections.txt
+++ /dev/null
@@ -1,515 +0,0 @@
-<SECTION>
-<FILE>osinfo_db</FILE>
-<TITLE>OsinfoDb</TITLE>
-OsinfoDb
-OsinfoDbClass
-OsinfoDbPrivate
-osinfo_db_new
-osinfo_db_get_platform
-osinfo_db_get_device
-osinfo_db_get_os
-osinfo_db_get_deployment
-osinfo_db_get_os_list
-osinfo_db_get_platform_list
-osinfo_db_get_device_list
-osinfo_db_get_deployment_list
-osinfo_db_find_deployment
-osinfo_db_add_os
-osinfo_db_add_platform
-osinfo_db_add_device
-osinfo_db_add_deployment
-osinfo_db_guess_os_from_media
-osinfo_db_unique_values_for_property_in_os
-osinfo_db_unique_values_for_property_in_platform
-osinfo_db_unique_values_for_property_in_device
-osinfo_db_unique_values_for_property_in_deployment
-osinfo_db_unique_values_for_os_relationship
-osinfo_db_unique_values_for_platform_relationship
-<SUBSECTION Standard>
-OSINFO_DB
-OSINFO_IS_DB
-OSINFO_TYPE_DB
-osinfo_db_get_type
-OSINFO_DB_CLASS
-OSINFO_IS_DB_CLASS
-OSINFO_DB_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_list</FILE>
-<TITLE>OsinfoList</TITLE>
-OsinfoList
-OsinfoListClass
-OsinfoListPrivate
-osinfo_list_get_element_type
-osinfo_list_get_length
-osinfo_list_get_nth
-osinfo_list_find_by_id
-osinfo_list_add
-osinfo_list_add_filtered
-osinfo_list_add_intersection
-osinfo_list_add_union
-osinfo_list_add_all
-osinfo_list_get_elements
-<SUBSECTION Standard>
-OSINFO_LIST
-OSINFO_IS_LIST
-OSINFO_TYPE_LIST
-osinfo_list_get_type
-OSINFO_LIST_CLASS
-OSINFO_IS_LIST_CLASS
-OSINFO_LIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_loader</FILE>
-<TITLE>OsinfoLoader</TITLE>
-OsinfoLoader
-OsinfoLoaderClass
-OsinfoLoaderPrivate
-osinfo_loader_new
-osinfo_loader_get_db
-osinfo_loader_process_path
-osinfo_loader_process_uri
-osinfo_loader_process_default_path
-<SUBSECTION Standard>
-OSINFO_LOADER
-OSINFO_IS_LOADER
-OSINFO_TYPE_LOADER
-osinfo_loader_get_type
-OSINFO_LOADER_CLASS
-OSINFO_IS_LOADER_CLASS
-OSINFO_LOADER_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_product</FILE>
-<TITLE>OsinfoProduct</TITLE>
-OsinfoProduct
-OsinfoProductClass
-OsinfoProductPrivate
-OsinfoProductRelationship
-osinfo_product_get_related
-osinfo_product_add_related
-<SUBSECTION Standard>
-OSINFO_PRODUCT
-OSINFO_IS_PRODUCT
-OSINFO_TYPE_PRODUCT
-osinfo_product_get_type
-OSINFO_PRODUCT_CLASS
-OSINFO_IS_PRODUCT_CLASS
-OSINFO_PRODUCT_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_os</FILE>
-<TITLE>OsinfoOs</TITLE>
-OsinfoOs
-OsinfoOsClass
-OsinfoOsPrivate
-osinfo_os_new
-osinfo_os_get_devices
-osinfo_os_get_device_links
-osinfo_os_add_device
-osinfo_os_get_family
-osinfo_os_get_media_list
-osinfo_os_add_media
-osinfo_os_get_minimum_resources
-osinfo_os_get_recommended_resources
-osinfo_os_add_minimum_resources
-osinfo_os_add_recommended_resources
-<SUBSECTION Standard>
-OSINFO_OS
-OSINFO_IS_OS
-OSINFO_TYPE_OS
-osinfo_os_get_type
-OSINFO_OS_CLASS
-OSINFO_IS_OS_CLASS
-OSINFO_OS_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_platform</FILE>
-<TITLE>OsinfoPlatform</TITLE>
-OsinfoPlatform
-OsinfoPlatformClass
-OsinfoPlatformPrivate
-osinfo_platform_new
-osinfo_platform_get_devices
-osinfo_platform_get_device_links
-osinfo_platform_add_device
-<SUBSECTION Standard>
-OSINFO_PLATFORM
-OSINFO_IS_PLATFORM
-OSINFO_TYPE_PLATFORM
-osinfo_platform_get_type
-OSINFO_PLATFORM_CLASS
-OSINFO_IS_PLATFORM_CLASS
-OSINFO_PLATFORM_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_deployment</FILE>
-<TITLE>OsinfoDeployment</TITLE>
-OsinfoDeployment
-OsinfoDeploymentClass
-OsinfoDeploymentPrivate
-osinfo_deployment_new
-osinfo_deployment_get_devices
-osinfo_deployment_get_device_links
-osinfo_deployment_add_device
-osinfo_deployment_get_os
-osinfo_deployment_get_platform
-osinfo_deployment_get_preferred_device
-osinfo_deployment_get_preferred_device_link
-<SUBSECTION Standard>
-OSINFO_DEPLOYMENT
-OSINFO_IS_DEPLOYMENT
-OSINFO_TYPE_DEPLOYMENT
-osinfo_deployment_get_type
-OSINFO_DEPLOYMENT_CLASS
-OSINFO_IS_DEPLOYMENT_CLASS
-OSINFO_DEPLOYMENT_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_filter</FILE>
-<TITLE>OsinfoFilter</TITLE>
-OsinfoFilter
-OsinfoFilterClass
-OsinfoFilterPrivate
-osinfo_filter_new
-osinfo_filter_add_constraint
-osinfo_filter_clear_constraint
-osinfo_filter_clear_constraints
-osinfo_filter_get_constraint_keys
-osinfo_filter_get_constraint_values
-osinfo_filter_matches
-<SUBSECTION Standard>
-OSINFO_FILTER
-OSINFO_IS_FILTER
-OSINFO_TYPE_FILTER
-osinfo_filter_get_type
-OSINFO_FILTER_CLASS
-OSINFO_IS_FILTER_CLASS
-OSINFO_FILTER_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_entity</FILE>
-<TITLE>OsinfoEntity</TITLE>
-OsinfoEntity
-OsinfoEntityClass
-OsinfoEntityPrivate
-osinfo_entity_get_id
-osinfo_entity_get_param_keys
-osinfo_entity_get_param_value
-osinfo_entity_get_param_value_list
-osinfo_entity_add_param
-osinfo_entity_clear_param
-<SUBSECTION Standard>
-OSINFO_ENTITY
-OSINFO_IS_ENTITY
-OSINFO_TYPE_ENTITY
-osinfo_entity_get_type
-OSINFO_ENTITY_CLASS
-OSINFO_IS_ENTITY_CLASS
-OSINFO_ENTITY_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_devicelist</FILE>
-<TITLE>OsinfoDeviceList</TITLE>
-OsinfoDeviceList
-OsinfoDeviceListClass
-OsinfoDeviceListPrivate
-osinfo_devicelist_new
-osinfo_devicelist_new_copy
-osinfo_devicelist_new_filtered
-osinfo_devicelist_new_intersection
-osinfo_devicelist_new_union
-<SUBSECTION Standard>
-OSINFO_DEVICELIST
-OSINFO_IS_DEVICELIST
-OSINFO_TYPE_DEVICELIST
-osinfo_devicelist_get_type
-OSINFO_DEVICELIST_CLASS
-OSINFO_IS_DEVICELIST_CLASS
-OSINFO_DEVICELIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_devicelinklist</FILE>
-<TITLE>OsinfoDeviceLinkList</TITLE>
-OsinfoDeviceLinkList
-OsinfoDeviceLinkListClass
-OsinfoDeviceLinkListPrivate
-osinfo_devicelinklist_new
-osinfo_devicelinklist_new_copy
-osinfo_devicelinklist_new_filtered
-osinfo_devicelinklist_new_intersection
-osinfo_devicelinklist_new_union
-osinfo_devicelinklist_get_devices
-<SUBSECTION Standard>
-OSINFO_DEVICELINKLIST
-OSINFO_IS_DEVICELINKLIST
-OSINFO_TYPE_DEVICELINKLIST
-osinfo_devicelinklist_get_type
-OSINFO_DEVICELINKLIST_CLASS
-OSINFO_IS_DEVICELINKLIST_CLASS
-OSINFO_DEVICELINKLIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_productfilter</FILE>
-<TITLE>OsinfoProductFilter</TITLE>
-OsinfoProductFilter
-OsinfoProductFilterClass
-OsinfoProductFilterPrivate
-osinfo_productfilter_new
-osinfo_productfilter_add_product_constraint
-osinfo_productfilter_clear_product_constraint
-osinfo_productfilter_clear_product_constraints
-osinfo_productfilter_get_product_constraint_values
-<SUBSECTION Standard>
-OSINFO_PRODUCTFILTER
-OSINFO_IS_PRODUCTFILTER
-OSINFO_TYPE_PRODUCTFILTER
-osinfo_productfilter_get_type
-OSINFO_PRODUCTFILTER_CLASS
-OSINFO_IS_PRODUCTFILTER_CLASS
-OSINFO_PRODUCTFILTER_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_devicelinkfilter</FILE>
-<TITLE>OsinfoDeviceLinkFilter</TITLE>
-OsinfoDeviceLinkFilter
-OsinfoDeviceLinkFilterClass
-OsinfoDeviceLinkFilterPrivate
-osinfo_devicelinkfilter_new
-osinfo_devicelinkfilter_get_target_filter
-<SUBSECTION Standard>
-OSINFO_DEVICELINKFILTER
-OSINFO_IS_DEVICELINKFILTER
-OSINFO_TYPE_DEVICELINKFILTER
-osinfo_devicelinkfilter_get_type
-OSINFO_DEVICELINKFILTER_CLASS
-OSINFO_IS_DEVICELINKFILTER_CLASS
-OSINFO_DEVICELINKFILTER_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_productlist</FILE>
-<TITLE>OsinfoProductList</TITLE>
-OsinfoProductList
-OsinfoProductListClass
-OsinfoProductListPrivate
-osinfo_productlist_new
-osinfo_productlist_new_copy
-osinfo_productlist_new_filtered
-osinfo_productlist_new_intersection
-osinfo_productlist_new_union
-<SUBSECTION Standard>
-OSINFO_PRODUCTLIST
-OSINFO_IS_PRODUCTLIST
-OSINFO_TYPE_PRODUCTLIST
-osinfo_productlist_get_type
-OSINFO_PRODUCTLIST_CLASS
-OSINFO_IS_PRODUCTLIST_CLASS
-OSINFO_PRODUCTLIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_oslist</FILE>
-<TITLE>OsinfoOsList</TITLE>
-OsinfoOsList
-OsinfoOsListClass
-OsinfoOsListPrivate
-osinfo_oslist_new
-osinfo_oslist_new_copy
-osinfo_oslist_new_filtered
-osinfo_oslist_new_intersection
-osinfo_oslist_new_union
-<SUBSECTION Standard>
-OSINFO_OSLIST
-OSINFO_IS_OSLIST
-OSINFO_TYPE_OSLIST
-osinfo_oslist_get_type
-OSINFO_OSLIST_CLASS
-OSINFO_IS_OSLIST_CLASS
-OSINFO_OSLIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_platformlist</FILE>
-<TITLE>OsinfoPlatformList</TITLE>
-OsinfoPlatformList
-OsinfoPlatformListClass
-OsinfoPlatformListPrivate
-osinfo_platformlist_new
-osinfo_platformlist_new_copy
-osinfo_platformlist_new_filtered
-osinfo_platformlist_new_intersection
-osinfo_platformlist_new_union
-<SUBSECTION Standard>
-OSINFO_PLATFORMLIST
-OSINFO_IS_PLATFORMLIST
-OSINFO_TYPE_PLATFORMLIST
-osinfo_platformlist_get_type
-OSINFO_PLATFORMLIST_CLASS
-OSINFO_IS_PLATFORMLIST_CLASS
-OSINFO_PLATFORMLIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_deploymentlist</FILE>
-<TITLE>OsinfoDeploymentList</TITLE>
-OsinfoDeploymentList
-OsinfoDeploymentListClass
-OsinfoDeploymentListPrivate
-osinfo_deploymentlist_new
-osinfo_deploymentlist_new_copy
-osinfo_deploymentlist_new_filtered
-osinfo_deploymentlist_new_intersection
-osinfo_deploymentlist_new_union
-<SUBSECTION Standard>
-OSINFO_DEPLOYMENTLIST
-OSINFO_IS_DEPLOYMENTLIST
-OSINFO_TYPE_DEPLOYMENTLIST
-osinfo_deploymentlist_get_type
-OSINFO_DEPLOYMENTLIST_CLASS
-OSINFO_IS_DEPLOYMENTLIST_CLASS
-OSINFO_DEPLOYMENTLIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_device</FILE>
-<TITLE>OsinfoDevice</TITLE>
-OsinfoDevice
-OsinfoDeviceClass
-OsinfoDevicePrivate
-osinfo_device_new
-<SUBSECTION Standard>
-OSINFO_DEVICE
-OSINFO_IS_DEVICE
-OSINFO_TYPE_DEVICE
-osinfo_device_get_type
-OSINFO_DEVICE_CLASS
-OSINFO_IS_DEVICE_CLASS
-OSINFO_DEVICE_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_media</FILE>
-<TITLE>OsinfoMedia</TITLE>
-OsinfoMedia
-OsinfMediaoClass
-OsinfMediaoPrivate
-osinfo_media_new
-osinfo_media_create_from_location
-osinfo_media_create_from_location_async
-osinfo_media_create_from_location_finish
-osinfo_media_get_architecture
-osinfo_media_get_url
-osinfo_media_get_volume_id
-osinfo_media_get_system_id
-osinfo_media_get_publisher_id
-osinfo_media_get_kernel_path
-osinfo_media_get_initrd_path
-<SUBSECTION Standard>
-OSINFO_MEDIA
-OSINFO_IS_MEDIA
-OSINFO_TYPE_MEDIA
-osinfo_media_get_type
-OSINFO_MEDIA_CLASS
-OSINFO_IS_MEDIA_CLASS
-OSINFO_MEDIA_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_medialist</FILE>
-<TITLE>OsinfoMediaList</TITLE>
-OsinfoMediaList
-OsinfMediaListoClass
-OsinfMediaListoPrivate
-osinfo_medialist_new
-osinfo_medialist_new_copy
-osinfo_medialist_new_filtered
-osinfo_medialist_new_intersection
-osinfo_medialist_new_union
-<SUBSECTION Standard>
-OSINFO_MEDIALIST
-OSINFO_IS_MEDIALIST
-OSINFO_TYPE_MEDIALIST
-osinfo_medialist_get_type
-OSINFO_MEDIALIST_CLASS
-OSINFO_IS_MEDIALIST_CLASS
-OSINFO_MEDIALIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_resources</FILE>
-<TITLE>OsinfoResources</TITLE>
-OsinfoResources
-OsinfResourcesoClass
-OsinfResourcesoPrivate
-<SUBSECTION Standard>
-osinfo_resources_new
-osinfo_resources_get_architecture
-osinfo_resources_get_cpu
-osinfo_resources_get_n_cpus
-osinfo_resources_get_ram
-osinfo_resources_get_storage
-osinfo_resources_set_n_cpus
-osinfo_resources_set_cpu
-osinfo_resources_set_ram
-osinfo_resources_set_storage
-OSINFO_RESOURCES
-OSINFO_IS_RESOURCES
-OSINFO_TYPE_RESOURCES
-osinfo_resources_get_type
-OSINFO_RESOURCES_CLASS
-OSINFO_IS_RESOURCES_CLASS
-OSINFO_RESOURCES_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_resourceslist</FILE>
-<TITLE>OsinfoResourcesList</TITLE>
-OsinfoResourcesList
-OsinfResourcesListoClass
-OsinfResourcesListoPrivate
-osinfo_resourceslist_new
-osinfo_resourceslist_new_copy
-osinfo_resourceslist_new_filtered
-osinfo_resourceslist_new_intersection
-osinfo_resourceslist_new_union
-<SUBSECTION Standard>
-OSINFO_RESOURCESLIST
-OSINFO_IS_RESOURCESLIST
-OSINFO_TYPE_RESOURCESLIST
-osinfo_resourceslist_get_type
-OSINFO_RESOURCESLIST_CLASS
-OSINFO_IS_RESOURCESLIST_CLASS
-OSINFO_RESOURCESLIST_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>osinfo_devicelink</FILE>
-<TITLE>OsinfoDeviceLink</TITLE>
-OsinfoDeviceLink
-OsinfoDeviceLinkClass
-OsinfoDeviceLinkPrivate
-osinfo_devicelink_new
-osinfo_devicelink_get_target
-<SUBSECTION Standard>
-OSINFO_DEVICELINK
-OSINFO_IS_DEVICELINK
-OSINFO_TYPE_DEVICELINK
-osinfo_devicelink_get_type
-OSINFO_DEVICELINK_CLASS
-OSINFO_IS_DEVICELINK_CLASS
-OSINFO_DEVICELINK_GET_CLASS
-</SECTION>
-
diff --git a/docs/reference/Libosinfo.types b/docs/reference/Libosinfo.types
index 37f3075..2342f68 100644
--- a/docs/reference/Libosinfo.types
+++ b/docs/reference/Libosinfo.types
@@ -1,21 +1,23 @@
 osinfo_db_get_type
+osinfo_deployment_get_type
+osinfo_deploymentlist_get_type
 osinfo_device_get_type
+osinfo_devicelink_get_type
+osinfo_devicelinkfilter_get_type
+osinfo_devicelinklist_get_type
 osinfo_devicelist_get_type
 osinfo_entity_get_type
 osinfo_filter_get_type
-osinfo_platform_get_type
-osinfo_platformlist_get_type
-osinfo_deployment_get_type
-osinfo_deploymentlist_get_type
 osinfo_list_get_type
 osinfo_loader_get_type
+osinfo_media_get_type
+osinfo_medialist_get_type
+osinfo_os_get_type
+osinfo_oslist_get_type
+osinfo_platform_get_type
+osinfo_platformlist_get_type
 osinfo_product_get_type
 osinfo_productfilter_get_type
 osinfo_productlist_get_type
-osinfo_os_get_type
-osinfo_oslist_get_type
-osinfo_devicelink_get_type
-osinfo_devicelinklist_get_type
-osinfo_devicelinkfilter_get_type
-osinfo_media_get_type
-osinfo_medialist_get_type
+osinfo_resources_get_type
+osinfo_resourceslist_get_type
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 3076436..0b8dc9a 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -9,7 +9,7 @@ DOC_SOURCE_DIR=../../osinfo
 
 SCANGOBJ_OPTIONS=
 
-SCAN_OPTIONS=
+SCAN_OPTIONS=--rebuild-sections --rebuild-types
 
 MKDB_OPTIONS=--sgml-mode --output-format=xml
 
-- 
1.7.7




More information about the virt-tools-list mailing list