projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix : callback type, doc and links to libbabeltrace
[babeltrace.git]
/
include
/
babeltrace
/
babeltrace.h
diff --git
a/include/babeltrace/babeltrace.h
b/include/babeltrace/babeltrace.h
index 8fe9a9c69f3ef7798930d6b84358cfca725526ef..c77ea7827614cb4d89c84d5c05f8c7c22a695bb2 100644
(file)
--- a/
include/babeltrace/babeltrace.h
+++ b/
include/babeltrace/babeltrace.h
@@
-17,7
+17,6
@@
* all copies or substantial portions of the Software.
*/
* all copies or substantial portions of the Software.
*/
-#include <glib.h>
#include <babeltrace/context.h>
#include <babeltrace/format.h>
#include <babeltrace/iterator.h>
#include <babeltrace/context.h>
#include <babeltrace/format.h>
#include <babeltrace/iterator.h>
@@
-25,8
+24,6
@@
#include <babeltrace/trace-handle.h>
#include <babeltrace/ctf/events.h>
#include <babeltrace/trace-handle.h>
#include <babeltrace/ctf/events.h>
-typedef GQuark bt_event_name;
-
/* Forward declarations */
struct bt_iter;
struct ctf_stream_event;
/* Forward declarations */
struct bt_iter;
struct ctf_stream_event;
@@
-40,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.
*/
@@
-92,8
+84,8
@@
void babeltrace_dependencies_destroy(struct bt_dependencies *dep);
* callbacks/read/add more callbacks/read some more.)
*/
int bt_iter_add_callback(struct bt_iter *iter,
* callbacks/read/add more callbacks/read some more.)
*/
int bt_iter_add_callback(struct bt_iter *iter,
- bt_
event_name
event, void *private_data, int flags,
- enum bt_cb_ret (*callback)(struct bt_ctf_
data
*ctf_data,
+ bt_
intern_str
event, void *private_data, int flags,
+ 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.023555 seconds
and
4
git commands to generate.