OSSP CVS Repository

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

ossp-pkg/l2/l2.h.in 1.13 -> 1.14

--- l2.h.in      2001/10/09 15:34:55     1.13
+++ l2.h.in      2001/11/03 22:51:36     1.14
@@ -99,14 +99,16 @@
 
 /* list of return values */
 typedef enum {
-    L2_OK,
+    L2_OK,         /* everything ok */
+    L2_OK_PASS,    /* everything ok - pass downstream */
     L2_ERR_ARG,    /* invalid argument */
     L2_ERR_USE,    /* invalid usage */
     L2_ERR_MEM,    /* no more memory available */
     L2_ERR_SYS,    /* system error (see errno) */
     L2_ERR_IO,     /* input/output error */
     L2_ERR_FMT,    /* message formating error */
-    L2_ERR_INT     /* internal error */
+    L2_ERR_INT,    /* internal error */
+    L2_ERR_CH      /* no (more) channel found */
 } l2_result_t;
 
 /* context union for storing data */
@@ -199,8 +201,9 @@
 l2_result_t   l2_channel_close      (l2_channel_t *ch);
 l2_result_t   l2_channel_destroy    (l2_channel_t *ch);
 l2_result_t   l2_channel_stack      (l2_channel_t *ch, l2_channel_t *chTop);
-l2_channel_t *l2_channel_downstream (l2_channel_t *ch);
-l2_chtype_t   l2_channel_type       (l2_channel_t *ch);
+l2_result_t   l2_channel_upstream   (l2_channel_t *ch, l2_channel_t **chU);
+l2_result_t   l2_channel_downstream (l2_channel_t *ch, l2_channel_t **chD);
+l2_result_t   l2_channel_type       (l2_channel_t *ch, l2_chtype_t *type);
 l2_result_t   l2_channel_errorinfo  (l2_channel_t *ch, l2_result_t rv, const char *fmt, ...);
 char         *l2_channel_strerror   (l2_channel_t *ch, l2_result_t rv);
 

CVSTrac 2.0.1