+/* Machine interface output type */
+enum lttng_mi_output_type {
+ LTTNG_MI_XML = 1 /* XML output */
+};
+
+#define LTTNG_CALIBRATE_PADDING1 16
+struct lttng_calibrate {
+ enum lttng_calibrate_type type;
+
+ char padding[LTTNG_CALIBRATE_PADDING1];
+};
+
+/*
+ * Check if a session daemon is alive.
+ *
+ * Return 1 if alive or 0 if not. On error, returns a negative negative LTTng
+ * error code.
+ */
+extern int lttng_session_daemon_alive(void);
+
+/*
+ * Set the tracing group for the *current* flow of execution.
+ *
+ * On success, returns 0 else a negative LTTng error code.
+ */
+extern int lttng_set_tracing_group(const char *name);
+
+/*
+ * This call registers an "outside consumer" for a session and an lttng domain.
+ * No consumer will be spawned and all fds/commands will go through the socket
+ * path given (socket_path).
+ *
+ * NOTE that this is not recommended unless you absolutely know what you are
+ * doing.
+ *
+ * Return 0 on success else a negative LTTng error code.
+ */
+extern int lttng_register_consumer(struct lttng_handle *handle,
+ const char *socket_path);
+
+/*
+ * Start tracing for *all* domain(s) in the session.
+ *
+ * Return 0 on success else a negative LTTng error code.