projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API fix: packet_seek should take an index rather than offset
[babeltrace.git]
/
lib
/
context.c
diff --git
a/lib/context.c
b/lib/context.c
index 5021d7add1c56ab92386e4f93cdd43c520509086..1311b5c2a0e684e81d51fb2adf688e3db66bf5d4 100644
(file)
--- a/
lib/context.c
+++ b/
lib/context.c
@@
-58,8
+58,8
@@
struct bt_context *bt_context_create(void)
int bt_context_add_trace(struct bt_context *ctx, const char *path,
const char *format_name,
int bt_context_add_trace(struct bt_context *ctx, const char *path,
const char *format_name,
- void (*packet_seek)(struct stream_pos *pos,
-
size_t offset,
int whence))
+ void (*packet_seek)(struct stream_pos *pos,
size_t index,
+ int whence))
{
struct trace_descriptor *td;
struct format *fmt;
{
struct trace_descriptor *td;
struct format *fmt;
This page took
0.022574 seconds
and
4
git commands to generate.