version 1.2, 2008/07/16 10:23:39 |
version 1.3, 2008/12/07 02:56:06 |
|
|
/* initialize the tree and queue */ |
/* initialize the tree and queue */ |
RB_HEAD(sc_tree, sc_ent) sctree; |
RB_HEAD(sc_tree, sc_ent) sctree; |
TAILQ_HEAD(sc_queue, sc_ent) scq1, scq2, scq_free; |
TAILQ_HEAD(sc_queue, sc_ent) scq1, scq2, scq_free; |
RB_GENERATE(sc_tree, sc_ent, tlink, sc_cmp); |
RB_GENERATE(sc_tree, sc_ent, tlink, sc_cmp) |
|
|
struct sc_queue *scq_act = NULL; |
struct sc_queue *scq_act = NULL; |
struct sc_queue *scq_exp = NULL; |
struct sc_queue *scq_exp = NULL; |