Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ulog.h
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2023-11-28 10:13:49 +0300
committerFelix Fietkau <nbd@nbd.name>2023-11-28 14:08:42 +0300
commit260ad5bd1566ce08753df743292680afa74bd06f (patch)
treeccac6e54b56d61ac167c81072be5d3687392bcc1 /ulog.h
parentb77f2a4ce9034d4341668bb61ca55fc177ee7729 (diff)
udebug: add ulog support
Make ulog able to also log via udebug. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'ulog.h')
-rw-r--r--ulog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ulog.h b/ulog.h
index 46d3c77..0b81cc3 100644
--- a/ulog.h
+++ b/ulog.h
@@ -21,6 +21,8 @@
#include <syslog.h>
+#include "udebug.h"
+
enum {
ULOG_KMSG = (1 << 0),
ULOG_SYSLOG = (1 << 1),
@@ -28,6 +30,7 @@ enum {
};
void ulog_open(int channels, int facility, const char *ident);
+void ulog_udebug(struct udebug_buf *udb);
void ulog_close(void);
void ulog_threshold(int threshold);