OSSP CVS Repository

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

ossp-pkg/l2/l2_p.h 1.25 -> 1.26

--- l2_p.h       2001/11/03 22:51:36     1.25
+++ l2_p.h       2001/11/04 13:21:17     1.26
@@ -76,37 +76,31 @@
 } l2_chstate_t;
 
 struct l2_channel_st {
+    l2_env_t     *env;
     l2_chstate_t  state;
     l2_channel_t *parent;
     l2_channel_t *sibling;
     l2_channel_t *child;
     l2_context_t  context;
     l2_handler_t  handler;
-    char          szError[1024];
-    char          szErrorInfo[512];
-    l2_result_t   rvErrorInfo;
     unsigned int  levelmask;
     unsigned int  flushmask;
 };
 
 typedef struct {
-    l2_channel_t *ch;
-    unsigned int levelmask;
-    unsigned int flushmask;
-} l2_channel_entry_t;
-
-typedef struct {
     l2_formatter_t cb;
     void *ctx;
     char id;
 } l2_formatter_entry_t;
 
-struct l2_stream_st {
+struct l2_env_st {
     unsigned int          levelmask;
     unsigned int          flushmask;
-    char                  message[L2_MAX_MSGSIZE];
-    l2_channel_entry_t    channels[L2_MAX_CHANNELS];
     l2_formatter_entry_t  formatters[L2_MAX_FORMATTERS];
+    char                  message[L2_MAX_MSGSIZE];
+    char                  szError[1024];
+    char                  szErrorInfo[512];
+    l2_result_t           rvErrorInfo;
 };
 
 /* variable argument handling taking care on argument passing conventions */

CVSTrac 2.0.1