X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fplugin-internal.h;h=673b7818f4838d8ed6998a2a18ef9e1e1981a0ca;hb=38b48196e2b127cceb022056bb22a15086644e10;hp=96aa692a72da7dfea0ddab8f586f3974c5e468fb;hpb=fb2dcc52d2d351c4fb46878414f51d2cdecdfc6f;p=babeltrace.git diff --git a/include/babeltrace/plugin/plugin-internal.h b/include/babeltrace/plugin/plugin-internal.h index 96aa692a..673b7818 100644 --- a/include/babeltrace/plugin/plugin-internal.h +++ b/include/babeltrace/plugin/plugin-internal.h @@ -1,5 +1,5 @@ #ifndef BABELTRACE_PLUGIN_INTERNAL_H -#define BABELTRACE_PLUGIN__INTERNAL_H +#define BABELTRACE_PLUGIN_INTERNAL_H /* * BabelTrace - Plug-in Internal @@ -30,7 +30,8 @@ #include #include #include -#include +#include +#include #include /** @@ -41,10 +42,10 @@ * reference to their plugin. * * This ensures that a plugin's library is not closed while it is being used - * even if the bt_component_factory which created its components is destroyed. + * even if the bt_component_factory, which created its components, is destroyed. */ struct bt_plugin { - struct bt_ref ref; + struct bt_object base; const char *name; const char *author; const char *license; @@ -60,10 +61,4 @@ BT_HIDDEN enum bt_component_status bt_plugin_register_component_classes( struct bt_plugin *plugin, struct bt_component_factory *factory); -BT_HIDDEN -void bt_plugin_get(struct bt_plugin *plugin); - -BT_HIDDEN -void bt_plugin_put(struct bt_plugin *plugin); - -#endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */ +#endif /* BABELTRACE_PLUGIN_INTERNAL_H */