OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_pipe.c 1.1 -> 1.2

--- l2_ch_pipe.c 2001/05/10 19:46:01     1.1
+++ l2_ch_pipe.c 2001/05/11 17:07:52     1.2
@@ -30,3 +30,49 @@
 #include "l2.h"
 #include "l2_p.h"
 
+static int hook_create(l2_context_t *ctx)
+{
+    return L2_OK;
+}
+
+static int hook_configure(l2_context_t *ctx, const char *fmt, va_list ap)
+{
+    return L2_OK;
+}
+
+static int hook_open(l2_context_t *ctx, l2_channel_t *below)
+{
+    return L2_OK;
+}
+
+static int hook_write(l2_context_t *ctx, l2_channel_t *below, 
+                      const char *buf, size_t buf_size)
+{
+    return L2_OK;
+}
+
+static int hook_flush(l2_context_t *ctx, l2_channel_t *below)
+{
+    return L2_OK;
+}
+
+static int hook_close(l2_context_t *ctx, l2_channel_t *below)
+{
+    return L2_OK;
+}
+
+static int hook_destroy(l2_context_t *ctx)
+{
+    return L2_OK;
+}
+
+l2_handler_t l2_handler_pipe = {
+    hook_create,
+    hook_configure,
+    hook_open,
+    hook_write,
+    hook_flush,
+    hook_close,
+    hook_destroy
+};
+

CVSTrac 2.0.1