OSSP CVS Repository

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

ossp-pkg/l2/l2.h 1.15 -> 1.16

--- l2.h 2001/09/04 15:41:17     1.15
+++ l2.h 2001/09/04 19:18:49     1.16
@@ -129,13 +129,13 @@
 /* channel handler specification structure */
 struct l2_handler_st {
     l2_chtype_t type;
-    int (*create)   (l2_context_t *ctx, l2_channel_t *ch);
-    int (*configure)(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap);
-    int (*open)     (l2_context_t *ctx, l2_channel_t *ch);
-    int (*write)    (l2_context_t *ctx, l2_channel_t *ch, const char *buf, size_t bufsize);
-    int (*flush)    (l2_context_t *ctx, l2_channel_t *ch);
-    int (*close)    (l2_context_t *ctx, l2_channel_t *ch);
-    int (*destroy)  (l2_context_t *ctx, l2_channel_t *ch);
+    l2_result_t (*create)   (l2_context_t *ctx, l2_channel_t *ch);
+    l2_result_t (*configure)(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap);
+    l2_result_t (*open)     (l2_context_t *ctx, l2_channel_t *ch);
+    l2_result_t (*write)    (l2_context_t *ctx, l2_channel_t *ch, const char *buf, size_t bufsize);
+    l2_result_t (*flush)    (l2_context_t *ctx, l2_channel_t *ch);
+    l2_result_t (*close)    (l2_context_t *ctx, l2_channel_t *ch);
+    l2_result_t (*destroy)  (l2_context_t *ctx, l2_channel_t *ch);
 };
 
 /* type of formatter callback function */

CVSTrac 2.0.1