+/*
+ * Create an handle used as a context for every request made to the library.
+ *
+ * This handle contains the session name and domain on which the command will
+ * be executed. A domain is basically a tracer like the kernel or user space.
+ *
+ * Return an newly allocated handle that should be freed using
+ * lttng_destroy_handle. On error, NULL is returned.
+ */
+extern struct lttng_handle *lttng_create_handle(const char *session_name,
+ struct lttng_domain *domain);
+
+/*
+ * Destroy an handle that has been previously created with lttng_create_handle.
+ *
+ * It free the given pointer making it unusable.
+ */
+extern void lttng_destroy_handle(struct lttng_handle *handle);
+