X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flttng%2Faction%2Fgroup-internal.h;h=9e88422cafce47ae6918dc957ab85ca59f195082;hb=702f26c8641ee4554c629d13b9367b1e93f96e31;hp=cddee55ed99cff01acb81e7e746bc556bd7d424d;hpb=0c51e8f329cdd907761e34c3e4394200a56c6812;p=lttng-tools.git diff --git a/include/lttng/action/group-internal.h b/include/lttng/action/group-internal.h index cddee55ed..9e88422ca 100644 --- a/include/lttng/action/group-internal.h +++ b/include/lttng/action/group-internal.h @@ -5,8 +5,8 @@ * */ -#ifndef LTTNG_ACTION_GROUP_INTERNAL_H -#define LTTNG_ACTION_GROUP_INTERNAL_H +#ifndef LTTNG_ACTION_LIST_INTERNAL_H +#define LTTNG_ACTION_LIST_INTERNAL_H #include @@ -16,14 +16,18 @@ struct lttng_action; struct lttng_payload_view; /* - * Create an action group from a payload view. + * Create an action list from a payload view. * * On success, return the number of bytes consumed from `view`, and the created * group in `*group`. On failure, return -1. */ LTTNG_HIDDEN -extern ssize_t lttng_action_group_create_from_payload( +extern ssize_t lttng_action_list_create_from_payload( struct lttng_payload_view *view, struct lttng_action **group); -#endif /* LTTNG_ACTION_GROUP_INTERNAL_H */ +LTTNG_HIDDEN +extern struct lttng_action *lttng_action_list_borrow_mutable_at_index( + const struct lttng_action *group, unsigned int index); + +#endif /* LTTNG_ACTION_LIST_INTERNAL_H */