projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace the struct trace_descriptor
[babeltrace.git]
/
include
/
babeltrace
/
format.h
diff --git
a/include/babeltrace/format.h
b/include/babeltrace/format.h
index c6faca71d9ada4774e82483e5f527904037a6761..d0f9378e5dfce942c785858345b2bd298e47c060 100644
(file)
--- a/
include/babeltrace/format.h
+++ b/
include/babeltrace/format.h
@@
-41,12
+41,12
@@
extern "C" {
typedef int bt_intern_str;
/* forward declaration */
typedef int bt_intern_str;
/* forward declaration */
-struct stream_pos;
+struct
bt_
stream_pos;
struct bt_context;
struct bt_trace_handle;
/* Parent trace descriptor */
struct bt_context;
struct bt_trace_handle;
/* Parent trace descriptor */
-struct trace_descriptor {
+struct
bt_
trace_descriptor {
};
struct mmap_stream {
};
struct mmap_stream {
@@
-61,25
+61,25
@@
struct mmap_stream_list {
struct format {
bt_intern_str name;
struct format {
bt_intern_str name;
- struct trace_descriptor *(*open_trace)(const char *path, int flags,
- void (*packet_seek)(struct stream_pos *pos,
+ struct
bt_
trace_descriptor *(*open_trace)(const char *path, int flags,
+ void (*packet_seek)(struct
bt_
stream_pos *pos,
size_t index, int whence),
FILE *metadata_fp);
size_t index, int whence),
FILE *metadata_fp);
- struct trace_descriptor *(*open_mmap_trace)(
+ struct
bt_
trace_descriptor *(*open_mmap_trace)(
struct mmap_stream_list *mmap_list,
struct mmap_stream_list *mmap_list,
- void (*packet_seek)(struct stream_pos *pos,
+ void (*packet_seek)(struct
bt_
stream_pos *pos,
size_t index, int whence),
FILE *metadata_fp);
size_t index, int whence),
FILE *metadata_fp);
- int (*close_trace)(struct trace_descriptor *descriptor);
- void (*set_context)(struct trace_descriptor *descriptor,
+ int (*close_trace)(struct
bt_
trace_descriptor *descriptor);
+ void (*set_context)(struct
bt_
trace_descriptor *descriptor,
struct bt_context *ctx);
struct bt_context *ctx);
- void (*set_handle)(struct trace_descriptor *descriptor,
+ void (*set_handle)(struct
bt_
trace_descriptor *descriptor,
struct bt_trace_handle *handle);
struct bt_trace_handle *handle);
- uint64_t (*timestamp_begin)(struct trace_descriptor *descriptor,
+ uint64_t (*timestamp_begin)(struct
bt_
trace_descriptor *descriptor,
struct bt_trace_handle *handle, enum bt_clock_type type);
struct bt_trace_handle *handle, enum bt_clock_type type);
- uint64_t (*timestamp_end)(struct trace_descriptor *descriptor,
+ uint64_t (*timestamp_end)(struct
bt_
trace_descriptor *descriptor,
struct bt_trace_handle *handle, enum bt_clock_type type);
struct bt_trace_handle *handle, enum bt_clock_type type);
- int (*convert_index_timestamp)(struct trace_descriptor *descriptor);
+ int (*convert_index_timestamp)(struct
bt_
trace_descriptor *descriptor);
};
extern struct format *bt_lookup_format(bt_intern_str qname);
};
extern struct format *bt_lookup_format(bt_intern_str qname);
This page took
0.024702 seconds
and
4
git commands to generate.