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]
/
formats
/
ctf-text
/
ctf-text.c
diff --git
a/formats/ctf-text/ctf-text.c
b/formats/ctf-text/ctf-text.c
index 62cb5310092dce9dcdbbc1f28673a11bd7259bbe..20e18e86fcf1e952c8f090db3dff58eb430a3e76 100644
(file)
--- a/
formats/ctf-text/ctf-text.c
+++ b/
formats/ctf-text/ctf-text.c
@@
-76,7
+76,7
@@
enum bt_loglevel {
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
- void (*packet_seek)(struct stream_pos *pos, size_t
offset
,
+ void (*packet_seek)(struct stream_pos *pos, size_t
index
,
int whence), FILE *metadata_fp);
void ctf_text_close_trace(struct trace_descriptor *descriptor);
int whence), FILE *metadata_fp);
void ctf_text_close_trace(struct trace_descriptor *descriptor);
@@
-459,7
+459,7
@@
error:
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
- void (*packet_seek)(struct stream_pos *pos, size_t
offset
,
+ void (*packet_seek)(struct stream_pos *pos, size_t
index
,
int whence), FILE *metadata_fp)
{
struct ctf_text_stream_pos *pos;
int whence), FILE *metadata_fp)
{
struct ctf_text_stream_pos *pos;
This page took
0.024687 seconds
and
4
git commands to generate.