projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: enforce const-correctness in notification thread
[lttng-tools.git]
/
include
/
lttng
/
condition
/
evaluation-internal.h
diff --git
a/include/lttng/condition/evaluation-internal.h
b/include/lttng/condition/evaluation-internal.h
index b88a0f712ab69aa9e0b508653fbb456f74db62a0..45a72daa0401a5ec920d19a9991f46b21719c8e6 100644
(file)
--- a/
include/lttng/condition/evaluation-internal.h
+++ b/
include/lttng/condition/evaluation-internal.h
@@
-26,7
+26,8
@@
#include <sys/types.h>
typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
#include <sys/types.h>
typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
-typedef int (*evaluation_serialize_cb)(struct lttng_evaluation *evaluation,
+typedef int (*evaluation_serialize_cb)(
+ const struct lttng_evaluation *evaluation,
struct lttng_dynamic_buffer *buf);
struct lttng_evaluation_comm {
struct lttng_dynamic_buffer *buf);
struct lttng_evaluation_comm {
@@
-50,7
+51,7
@@
ssize_t lttng_evaluation_create_from_buffer(const struct lttng_buffer_view *view
struct lttng_evaluation **evaluation);
LTTNG_HIDDEN
struct lttng_evaluation **evaluation);
LTTNG_HIDDEN
-int lttng_evaluation_serialize(struct lttng_evaluation *evaluation,
+int lttng_evaluation_serialize(
const
struct lttng_evaluation *evaluation,
struct lttng_dynamic_buffer *buf);
#endif /* LTTNG_EVALUATION_INTERNAL_H */
struct lttng_dynamic_buffer *buf);
#endif /* LTTNG_EVALUATION_INTERNAL_H */
This page took
0.024279 seconds
and
5
git commands to generate.