+/* Trace type for lttng_trace.
+ */
+enum lttng_trace_type {
+ KERNEL, USERSPACE,
+};
+
+/* Simple structure representing a session.
+ */
+struct lttng_session {
+ char name[NAME_MAX];
+ char uuid[UUID_STR_LEN];
+};
+
+/* Simple trace representation.
+ */
+struct lttng_trace {
+ char name[NAME_MAX];
+ pid_t pid;
+ enum lttng_trace_type type;
+};
+
+extern int lttng_create_session(char *name, uuid_t *session_id);
+extern int lttng_destroy_session(uuid_t *uuid);