OSSP CVS Repository

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

ossp-pkg/l2/l2.h.in 1.3 -> 1.4

--- l2.h.in      2001/09/10 10:15:11     1.3
+++ l2.h.in      2001/09/12 09:42:34     1.4
@@ -157,7 +157,7 @@
     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 (*write)    (l2_context_t *ctx, l2_channel_t *ch, l2_level_t level, 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);
@@ -192,7 +192,7 @@
 l2_channel_t *l2_channel_create     (l2_handler_t *h);
 l2_result_t   l2_channel_configure  (l2_channel_t *ch, const char *fmt, ...);
 l2_result_t   l2_channel_open       (l2_channel_t *ch);
-l2_result_t   l2_channel_write      (l2_channel_t *ch, const char *buf, size_t bufsize);
+l2_result_t   l2_channel_write      (l2_channel_t *ch, l2_level_t level, const char *buf, size_t bufsize);
 l2_result_t   l2_channel_flush      (l2_channel_t *ch);
 l2_result_t   l2_channel_close      (l2_channel_t *ch);
 l2_result_t   l2_channel_destroy    (l2_channel_t *ch);
@@ -205,8 +205,8 @@
 l2_result_t   l2_stream_channel    (l2_stream_t *st, l2_channel_t *ch, unsigned int levelmask);
 l2_result_t   l2_stream_formatter  (l2_stream_t *st, char id, l2_formatter_t cb, l2_context_t *ctx);
 l2_result_t   l2_stream_levels     (l2_stream_t *st, unsigned int levelmask);
-l2_result_t   l2_stream_log        (l2_stream_t *st, unsigned int level, const char *fmt, ...);
-l2_result_t   l2_stream_vlog       (l2_stream_t *st, unsigned int level, const char *fmt, va_list ap);
+l2_result_t   l2_stream_log        (l2_stream_t *st, l2_level_t level, const char *fmt, ...);
+l2_result_t   l2_stream_vlog       (l2_stream_t *st, l2_level_t level, const char *fmt, va_list ap);
 l2_result_t   l2_stream_destroy    (l2_stream_t *st);
 
 /* utility operations */

CVSTrac 2.0.1