logrea: move the code setting up the request blob out of the main loop
[project/ubox.git] / log / syslog.h
index b682ced..56ccbb9 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef __SYSLOG_H
 #define __SYSLOG_H
 
+#define LOG_LINE_SIZE          1024
+
 enum {
        SOURCE_KLOG = 0,
        SOURCE_SYSLOG = 1,
@@ -26,7 +28,7 @@ struct log_head {
        unsigned int id;
        int priority;
        int source;
-        struct timespec ts;
+       struct timespec ts;
        char data[];
 };