OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_prefix.c 1.4 -> 1.5

--- l2_ch_prefix.c       2001/08/15 10:36:03     1.4
+++ l2_ch_prefix.c       2001/09/04 15:41:17     1.5
@@ -30,43 +30,44 @@
 #include "l2.h"
 #include "l2_p.h"
 
-static int hook_create(l2_context_t *ctx)
+static int hook_create(l2_context_t *ctx, l2_channel_t *ch)
 {
     return L2_OK;
 }
 
-static int hook_configure(l2_context_t *ctx, const char *fmt, va_list ap)
+static int hook_configure(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap)
 {
     return L2_OK;
 }
 
-static int hook_open(l2_context_t *ctx, l2_channel_t *downstream)
+static int hook_open(l2_context_t *ctx, l2_channel_t *ch)
 {
     return L2_OK;
 }
 
-static int hook_write(l2_context_t *ctx, l2_channel_t *downstream, 
+static int hook_write(l2_context_t *ctx, l2_channel_t *ch, 
                       const char *buf, size_t buf_size)
 {
     return L2_OK;
 }
 
-static int hook_flush(l2_context_t *ctx, l2_channel_t *downstream)
+static int hook_flush(l2_context_t *ctx, l2_channel_t *ch)
 {
     return L2_OK;
 }
 
-static int hook_close(l2_context_t *ctx, l2_channel_t *downstream)
+static int hook_close(l2_context_t *ctx, l2_channel_t *ch)
 {
     return L2_OK;
 }
 
-static int hook_destroy(l2_context_t *ctx)
+static int hook_destroy(l2_context_t *ctx, l2_channel_t *ch)
 {
     return L2_OK;
 }
 
 l2_handler_t l2_handler_prefix = {
+    L2_CHANNEL_FILTER,
     hook_create,
     hook_configure,
     hook_open,

CVSTrac 2.0.1