projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the dynamic buffer to serialize notification objects
[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 414760e052a0df8d904e717fe7271460af7050d7..95119b37e97ea6bdab84d2814d6a42baa9653a5d 100644
(file)
--- a/
include/lttng/condition/evaluation-internal.h
+++ b/
include/lttng/condition/evaluation-internal.h
@@
-21,11
+21,13
@@
#include <lttng/condition/evaluation.h>
#include <common/macros.h>
#include <common/buffer-view.h>
#include <lttng/condition/evaluation.h>
#include <common/macros.h>
#include <common/buffer-view.h>
+#include <common/dynamic-buffer.h>
#include <stdbool.h>
#include <stdbool.h>
+#include <sys/types.h>
typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
-typedef
ssize_
t (*evaluation_serialize_cb)(struct lttng_evaluation *evaluation,
-
cha
r *buf);
+typedef
in
t (*evaluation_serialize_cb)(struct lttng_evaluation *evaluation,
+
struct lttng_dynamic_buffe
r *buf);
struct lttng_evaluation_comm {
/* enum lttng_condition_type type */
struct lttng_evaluation_comm {
/* enum lttng_condition_type type */
@@
-44,7
+46,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
-
ssize_
t lttng_evaluation_serialize(struct lttng_evaluation *evaluation,
-
cha
r *buf);
+
in
t lttng_evaluation_serialize(struct lttng_evaluation *evaluation,
+
struct lttng_dynamic_buffe
r *buf);
#endif /* LTTNG_EVALUATION_INTERNAL_H */
#endif /* LTTNG_EVALUATION_INTERNAL_H */
This page took
0.025409 seconds
and
5
git commands to generate.