summaryrefslogtreecommitdiff
path: root/include/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index 2c8503f0ee..47c2113ec3 100644
--- a/include/console.h
+++ b/include/console.h
@@ -103,6 +103,20 @@ enum console_channel {
#define CC_ALL 0xffffffffU
/**
+ * Enable a console channel by name
+ *
+ * @param name Console channel name
+ */
+void console_channel_enable(const char *name);
+
+/**
+ * Disable a console channel by name
+ *
+ * @param name Console channel name
+ */
+void console_channel_disable(const char *name);
+
+/**
* Put a string to the console channel.
*
* @param channel Output chanel