X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fplugin-system.h;h=7b955f4dac5494760f95ca9a230263b65b08494e;hb=7a278c8e26014d9235e365b7aa3cf234fc9ea1ad;hp=a606a459d45df767708fce3bffb6a665e36824a9;hpb=4a25879cc3541e458b066685cf7eb60cc0d8391b;p=babeltrace.git diff --git a/include/babeltrace/plugin/plugin-system.h b/include/babeltrace/plugin/plugin-system.h index a606a459..7b955f4d 100644 --- a/include/babeltrace/plugin/plugin-system.h +++ b/include/babeltrace/plugin/plugin-system.h @@ -43,16 +43,6 @@ extern "C" { */ typedef void (*bt_plugin_destroy_cb)(struct bt_plugin *plugin); -/** - * Plug-in error stream registration function type. - * - * @param plugin Plug-in instance - * @param error_stream Error stream, ownership is not transferred - * @returns One of #bt_plugin_status values - */ -typedef enum bt_plugin_status (*bt_plugin_set_error_stream_cb)( - struct bt_plugin *plugin, FILE *error_stream); - /** * Get a plug-in's private (implementation) data. * @@ -61,15 +51,7 @@ typedef enum bt_plugin_status (*bt_plugin_set_error_stream_cb)( */ extern void *bt_plugin_get_private_data(struct bt_plugin *plugin); -/** - * Set a callback permiting the registration of an error stream. - * - * @param plugin Plug-in to which the callback should be registered - * @param cb Error stream registration callback - */ -extern int bt_plugin_set_error_stream_cb(struct bt_plugin *plugin, - bt_plugin_set_error_stream_cb cb); - + /* Plug-in initialization functions */ /** * Allocate a source plug-in. @@ -97,6 +79,7 @@ extern struct bt_plugin *bt_plugin_sink_create(const char *name, void *private_data, bt_plugin_destroy_func destroy_func, bt_plugin_sink_handle_notification_cb notification_cb); + /* Notification iterator functions */ /** * Allocate a notification iterator.