Rename get_event_type to config_get_event_type
[deliverable/lttng-tools.git] / src / common / config / session-config.h
index 8e6e2803fc50658450c13c15b5d81f355f8ac610..7d53240115759312acca0d419bf5a3137d168b8f 100644 (file)
@@ -22,6 +22,7 @@
 #include <common/config/config-session-abi.h>
 #include <common/macros.h>
 #include <lttng/domain.h>
+#include <lttng/event.h>
 #include <stdint.h>
 
 struct config_entry {
@@ -45,6 +46,13 @@ struct config_element;
 LTTNG_HIDDEN
 const char *config_get_domain_str(enum lttng_domain_type domain);
 
+/*
+ * Return the event_type int value of lttng_event_type enumeration based on the
+ * passed string.
+ */
+LTTNG_HIDDEN
+int config_get_event_type(const char *event_type);
+
 /*
  * A config_entry_handler_cb receives config_entry structures belonging to the
  * sections the handler has been registered to.
This page took 0.024931 seconds and 5 git commands to generate.