Standardize *get_*_count() functions
[babeltrace.git] / include / babeltrace / plugin / plugin.h
index 0e0bc8da54068df2fba76327ed2826e3a2b8b8f2..64192b3d3a0a9ec19b26a8c76d0df9a48d24810a 100644 (file)
@@ -28,6 +28,7 @@
  * SOFTWARE.
  */
 
+#include <stdint.h>
 #include <stddef.h>
 #include <stdbool.h>
 #include <babeltrace/graph/component-class.h>
@@ -109,7 +110,7 @@ extern enum bt_plugin_status bt_plugin_get_version(struct bt_plugin *plugin,
                unsigned int *major, unsigned int *minor, unsigned int *patch,
                const char **extra);
 
-extern int bt_plugin_get_component_class_count(struct bt_plugin *plugin);
+extern int64_t bt_plugin_get_component_class_count(struct bt_plugin *plugin);
 
 extern struct bt_component_class *bt_plugin_get_component_class(
                struct bt_plugin *plugin, size_t index);
@@ -120,7 +121,7 @@ struct bt_component_class *bt_plugin_get_component_class_by_name_and_type(
                enum bt_component_class_type type);
 
 extern
-int bt_plugin_set_get_plugin_count(struct bt_plugin_set *plugin_set);
+int64_t bt_plugin_set_get_plugin_count(struct bt_plugin_set *plugin_set);
 
 extern
 struct bt_plugin *bt_plugin_set_get_plugin(struct bt_plugin_set *plugin_set,
This page took 0.023125 seconds and 4 git commands to generate.