fix : callback type, doc and links to libbabeltrace
[babeltrace.git] / include / babeltrace / babeltrace.h
index 4d94a5628117b596d361fddb128bd9673aef6ebf..c77ea7827614cb4d89c84d5c05f8c7c22a695bb2 100644 (file)
@@ -37,11 +37,6 @@ enum bt_cb_ret {
        BT_CB_ERROR_CONTINUE    = 3,
 };
 
        BT_CB_ERROR_CONTINUE    = 3,
 };
 
-struct bt_ctf_data {
-       struct ctf_stream_event *event;
-       struct ctf_stream *stream;
-};
-
 /*
  * Receives a variable number of strings as parameter, ended with NULL.
  */
 /*
  * Receives a variable number of strings as parameter, ended with NULL.
  */
@@ -90,7 +85,7 @@ void babeltrace_dependencies_destroy(struct bt_dependencies *dep);
  */
 int bt_iter_add_callback(struct bt_iter *iter,
                bt_intern_str event, void *private_data, int flags,
  */
 int bt_iter_add_callback(struct bt_iter *iter,
                bt_intern_str event, void *private_data, int flags,
-               enum bt_cb_ret (*callback)(struct bt_ctf_data *ctf_data,
+               enum bt_cb_ret (*callback)(struct bt_ctf_event *ctf_data,
                                           void *caller_data),
                struct bt_dependencies *depends,
                struct bt_dependencies *weak_depends,
                                           void *caller_data),
                struct bt_dependencies *depends,
                struct bt_dependencies *weak_depends,
This page took 0.023649 seconds and 4 git commands to generate.