projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.12.4
[lttng-ust.git]
/
include
/
lttng
/
ust-ctl.h
diff --git
a/include/lttng/ust-ctl.h
b/include/lttng/ust-ctl.h
index 3404d9c74c3e8d576cb8499c1600ef2ea8e140ab..d9eba3ef3bffac24928f8e233c9baa76fb68dd2a 100644
(file)
--- a/
include/lttng/ust-ctl.h
+++ b/
include/lttng/ust-ctl.h
@@
-27,6
+27,10
@@
#error "LTTNG_PACKED should be defined"
#endif
#error "LTTNG_PACKED should be defined"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
@@
-242,6
+246,7
@@
int ustctl_put_subbuf(struct ustctl_consumer_stream *stream);
void ustctl_flush_buffer(struct ustctl_consumer_stream *stream,
int producer_active);
void ustctl_flush_buffer(struct ustctl_consumer_stream *stream,
int producer_active);
+void ustctl_clear_buffer(struct ustctl_consumer_stream *stream);
/* index */
/* index */
@@
-517,4
+522,8
@@
int ustctl_reply_register_channel(int sock,
enum ustctl_channel_header header_type,
int ret_code); /* return code. 0 ok, negative error */
enum ustctl_channel_header header_type,
int ret_code); /* return code. 0 ok, negative error */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LTTNG_UST_CTL_H */
#endif /* _LTTNG_UST_CTL_H */
This page took
0.022946 seconds
and
4
git commands to generate.