X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Faction%2Fpath-internal.hpp;h=4ad63844915f6bd51b7e807ba48876ebbb095d03;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hp=9b9a4d10d152f72b7eb1340583a13293fdadee0d;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/include/lttng/action/path-internal.hpp b/include/lttng/action/path-internal.hpp index 9b9a4d10d..4ad638449 100644 --- a/include/lttng/action/path-internal.hpp +++ b/include/lttng/action/path-internal.hpp @@ -8,26 +8,25 @@ #ifndef LTTNG_ACTION_PATH_INTERNAL_H #define LTTNG_ACTION_PATH_INTERNAL_H -#include -#include #include +#include #include #include + +#include + #include struct lttng_action_path { struct lttng_dynamic_array indexes; }; -/* Assumes that 'dst' is uninitialized. */ -int lttng_action_path_copy(const struct lttng_action_path *src, - struct lttng_action_path *dst); +int lttng_action_path_copy(const struct lttng_action_path *src, struct lttng_action_path **dst); -ssize_t lttng_action_path_create_from_payload( - struct lttng_payload_view *view, - struct lttng_action_path **action_path); +ssize_t lttng_action_path_create_from_payload(struct lttng_payload_view *view, + struct lttng_action_path **action_path); int lttng_action_path_serialize(const struct lttng_action_path *action_path, - struct lttng_payload *payload); + struct lttng_payload *payload); #endif /* LTTNG_ACTION_PATH_INTERNAL_H */