OSSP CVS Repository

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

ossp-pkg/l2/l2_p.h 1.28 -> 1.29

--- l2_p.h       2001/11/04 13:46:25     1.28
+++ l2_p.h       2001/11/04 13:55:06     1.29
@@ -32,6 +32,7 @@
 /* include standard headers */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 
 /* include private headers */
@@ -65,14 +66,17 @@
     if (expr) \
         cu(value)
 
+/* some hard-coded sizes :-( */
 #define L2_MAX_MSGSIZE    4096
 #define L2_MAX_FORMATTERS  128
 
+/* internal channel state */
 typedef enum {
     L2_CHSTATE_CREATED,
     L2_CHSTATE_OPENED
 } l2_chstate_t;
 
+/* channel object structure */
 struct l2_channel_st {
     l2_env_t     *env;
     l2_chstate_t  state;
@@ -85,12 +89,14 @@
     unsigned int  flushmask;
 };
 
+/* formatter entry structure */
 typedef struct {
     l2_formatter_t cb;
     void *ctx;
     char id;
 } l2_formatter_entry_t;
 
+/* environment object structure */
 struct l2_env_st {
     unsigned int          levelmask;
     unsigned int          flushmask;

CVSTrac 2.0.1