actions: introduce function typedef for creating actions from buffer
[lttng-tools.git] / include / lttng / action / action-internal.h
index 787e9087a01e353c664c1876575dad2867a4fa5b..d08024a039b3e9cd5e195153b9ac32f60042ce4e 100644 (file)
@@ -19,6 +19,9 @@ typedef bool (*action_validate_cb)(struct lttng_action *action);
 typedef void (*action_destroy_cb)(struct lttng_action *action);
 typedef int (*action_serialize_cb)(struct lttng_action *action,
                struct lttng_dynamic_buffer *buf);
+typedef ssize_t (*action_create_from_buffer_cb)(
+               const struct lttng_buffer_view *view,
+               struct lttng_action **action);
 
 struct lttng_action {
        enum lttng_action_type type;
This page took 0.023603 seconds and 5 git commands to generate.