projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move lttng_session unique_ptr to lttng/session-internal.hpp
[lttng-tools.git]
/
src
/
common
/
consumer
/
metadata-bucket.hpp
diff --git
a/src/common/consumer/metadata-bucket.hpp
b/src/common/consumer/metadata-bucket.hpp
index 2c6961c88d2df0acb42942b4027313019900d6b2..ca9ee28c5adaa8ac7beb359259ccbcfb0aea936a 100644
(file)
--- a/
src/common/consumer/metadata-bucket.hpp
+++ b/
src/common/consumer/metadata-bucket.hpp
@@
-12,21
+12,19
@@
struct metadata_bucket;
struct metadata_bucket;
-typedef ssize_t (*metadata_bucket_flush_cb)(
- const struct stream_subbuffer *buffer, void *data);
+using metadata_bucket_flush_cb = ssize_t (*)(const struct stream_subbuffer *, void *);
enum metadata_bucket_status {
METADATA_BUCKET_STATUS_OK,
METADATA_BUCKET_STATUS_ERROR,
};
enum metadata_bucket_status {
METADATA_BUCKET_STATUS_OK,
METADATA_BUCKET_STATUS_ERROR,
};
-struct metadata_bucket *metadata_bucket_create(
- metadata_bucket_flush_cb flush, void *data);
+struct metadata_bucket *metadata_bucket_create(metadata_bucket_flush_cb flush, void *data);
void metadata_bucket_destroy(struct metadata_bucket *bucket);
enum metadata_bucket_status metadata_bucket_fill(struct metadata_bucket *bucket,
void metadata_bucket_destroy(struct metadata_bucket *bucket);
enum metadata_bucket_status metadata_bucket_fill(struct metadata_bucket *bucket,
- const struct stream_subbuffer *buffer);
+
const struct stream_subbuffer *buffer);
void metadata_bucket_reset(struct metadata_bucket *bucket);
void metadata_bucket_reset(struct metadata_bucket *bucket);
This page took
0.024823 seconds
and
4
git commands to generate.