projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: compile libconsumer, libust-consumer, libkernel-consumer as C++
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer-metadata-cache.h
diff --git
a/src/common/consumer/consumer-metadata-cache.h
b/src/common/consumer/consumer-metadata-cache.h
index b8f4efadc4c5ec59913cb75ea1644882fab2331b..4f8bb763fefdd1a893c01f5bd70f1fa9148866df 100644
(file)
--- a/
src/common/consumer/consumer-metadata-cache.h
+++ b/
src/common/consumer/consumer-metadata-cache.h
@@
-12,6
+12,10
@@
#include <common/consumer/consumer.h>
#include <common/dynamic-buffer.h>
#include <common/consumer/consumer.h>
#include <common/dynamic-buffer.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum consumer_metadata_cache_write_status {
CONSUMER_METADATA_CACHE_WRITE_STATUS_ERROR = -1,
/*
enum consumer_metadata_cache_write_status {
CONSUMER_METADATA_CACHE_WRITE_STATUS_ERROR = -1,
/*
@@
-59,4
+63,8
@@
void consumer_metadata_cache_destroy(struct lttng_consumer_channel *channel);
int consumer_metadata_cache_flushed(struct lttng_consumer_channel *channel,
uint64_t offset, int timer);
int consumer_metadata_cache_flushed(struct lttng_consumer_channel *channel,
uint64_t offset, int timer);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CONSUMER_METADATA_CACHE_H */
#endif /* CONSUMER_METADATA_CACHE_H */
This page took
0.023829 seconds
and
4
git commands to generate.