ossp-pkg/l2/l2_channel.c 1.16 -> 1.17
--- l2_channel.c 2001/09/06 14:37:53 1.16
+++ l2_channel.c 2001/09/12 09:42:34 1.17
@@ -117,7 +117,7 @@
}
/* write to channel (stack) */
-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 rv;
@@ -140,7 +140,7 @@
return L2_ERR_USE;
/* pass operation to handler */
- rv = ch->handler.write(&ch->context, ch, buf, bufsize);
+ rv = ch->handler.write(&ch->context, ch, level, buf, bufsize);
return rv;
}
|
|