8#ifndef LTTNG_ACTION_KEY_TEMPLATE_H
9#define LTTNG_ACTION_KEY_TEMPLATE_H
11#include <lttng/lttng-export.h>
13struct lttng_key_template;
75LTTNG_EXPORT
extern struct lttng_key_template *
void lttng_key_template_destroy(struct lttng_key_template *key_template)
Destroys the key template key_template.
enum lttng_key_template_status lttng_key_template_to_string(const struct lttng_key_template *key_template, char **template_string)
Renders the key template key_template back to its template string form.
struct lttng_key_template * lttng_key_template_create_from_string(const char *template_string)
Creates a key template from the template string template_string.
lttng_key_template_status
Return type of key template API functions.
Definition key-template.h:30
@ LTTNG_KEY_TEMPLATE_STATUS_ERROR
Error.
Definition key-template.h:35
@ LTTNG_KEY_TEMPLATE_STATUS_INVALID
Unsatisfied precondition.
Definition key-template.h:38
@ LTTNG_KEY_TEMPLATE_STATUS_OK
Success.
Definition key-template.h:32