X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flttng%2Fcondition%2Fevaluation-internal.h;h=15ae4af4d05d7205c434e8772f88c3acd4b06406;hb=f37d0f861f20a72a0b77fb43fa27744521dd7995;hp=a2cb432fc1046679ec9e57296cbe40e9244f7e5d;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/include/lttng/condition/evaluation-internal.h b/include/lttng/condition/evaluation-internal.h index a2cb432fc..15ae4af4d 100644 --- a/include/lttng/condition/evaluation-internal.h +++ b/include/lttng/condition/evaluation-internal.h @@ -10,15 +10,16 @@ #include #include -#include -#include #include #include +struct lttng_payload; +struct lttng_payload_view; + typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation); typedef int (*evaluation_serialize_cb)( const struct lttng_evaluation *evaluation, - struct lttng_dynamic_buffer *buf); + struct lttng_payload *payload); struct lttng_evaluation_comm { /* enum lttng_condition_type type */ @@ -37,11 +38,11 @@ void lttng_evaluation_init(struct lttng_evaluation *evaluation, enum lttng_condition_type type); LTTNG_HIDDEN -ssize_t lttng_evaluation_create_from_buffer(const struct lttng_buffer_view *view, +ssize_t lttng_evaluation_create_from_payload(struct lttng_payload_view *view, struct lttng_evaluation **evaluation); LTTNG_HIDDEN int lttng_evaluation_serialize(const struct lttng_evaluation *evaluation, - struct lttng_dynamic_buffer *buf); + struct lttng_payload *payload); #endif /* LTTNG_EVALUATION_INTERNAL_H */