Move get_config_domain_str to session-config
[lttng-tools.git] / src / common / config / session-config.h
index 7b068e838c1da68f782e5e8b3b225b0dbbec2ab6..af3d6ff85260b0021018b4fa82ae2541d7ef8f91 100644 (file)
@@ -21,6 +21,7 @@
 #include <common/config/ini.h>
 #include <common/config/config-session-abi.h>
 #include <common/macros.h>
+#include <lttng/domain.h>
 #include <stdint.h>
 
 struct config_entry {
@@ -38,6 +39,12 @@ struct config_document;
 
 struct config_element;
 
+/*
+ * Return the config string representation of a kernel type.
+ */
+LTTNG_HIDDEN
+const char *config_get_domain_str(enum lttng_domain_type domain);
+
 /*
  * A config_entry_handler_cb receives config_entry structures belonging to the
  * sections the handler has been registered to.
This page took 0.024655 seconds and 5 git commands to generate.