OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_p.h versions 1.30 and 1.31
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_p.h 1.30 -> 1.31

--- l2_p.h       2001/11/07 11:37:18     1.30
+++ l2_p.h       2001/11/16 19:40:55     1.31
@@ -42,6 +42,10 @@
 #include "l2_ut_pcre.h"
 #include "l2_ut_sa.h"
 
+#ifdef HAVE_SYS_TIME_H /* must come after include l2_config.h */
+#include <sys/time.h>
+#endif
+
 /* assertion and tracing support */
 #ifndef DEBUG
 #define NDEBUG
@@ -67,9 +71,11 @@
         cu(value)
 
 /* some hard-coded sizes :-( */
-#define L2_MAX_MSGSIZE    4096
-#define L2_MAX_FORMATTERS  128
-#define L2_MAX_HANDLERS    128
+#define L2_MAX_MSGSIZE         4096
+#define L2_MAX_FORMATTERS       128
+#define L2_MAX_HANDLERS         128
+#define L2_BROKEN_TIMER          -1 
+#define L2_BUFFER_TIMER ITIMER_REAL /* for [s|g]etitimer() and alarm() */
 
 /* internal channel state */
 typedef enum {
@@ -101,6 +107,7 @@
 struct l2_env_st {
     unsigned int          levelmask;
     unsigned int          flushmask;
+    int                   interval;
     l2_formatter_entry_t  formatters[L2_MAX_FORMATTERS];
     l2_handler_t         *handlers[L2_MAX_HANDLERS];
     char                  message[L2_MAX_MSGSIZE];

CVSTrac 2.0.1