ossp-pkg/l2/l2_p.h 1.3 -> 1.4
--- l2_p.h 2001/05/19 20:08:30 1.3
+++ l2_p.h 2001/05/24 09:40:28 1.4
@@ -37,8 +37,14 @@
#define L2_MAX_CHANNELS 128
#define L2_MAX_FORMATTERS 128
+typedef enum {
+ L2_CHSTATE_CREATED,
+ L2_CHSTATE_OPENED
+} l2_chstate_t;
+
struct l2_channel_st {
- l2_channel_t *below;
+ l2_chstate_t state;
+ l2_channel_t *downstream;
l2_context_t context;
l2_handler_t handler;
};
|
|