TOP_SRC_RXSTAT = ${TOP_SRCDIR}/rxstat
TOP_SRC_FSINT = ${TOP_SRCDIR}/fsint
TOP_SRC_RX = ${TOP_SRCDIR}/rx
+TOP_SRC_OPR = $(TOP_SRCDIR)/opr
TOP_SRC_VNOPS = ${TOP_SRCDIR}/afs/VNOPS
TOP_SRC_RXKAD = ${TOP_SRCDIR}/rxkad
rx_packet.o \
rx_multi.o \
rx_stats.o \
+ opr_rbtree.o \
xdr_rx.o \
xdr_mem.o \
xdr_len.o \
rx_packet.o \
rx_multi.o \
rx_stats.o \
+ opr_rbtree.o \
xdr_rx.o \
xdr_mem.o \
xdr_len.o \
$(CRULE_NOOPT) $(TOP_SRC_RX)/rx_packet.c
rx_stats.o: $(TOP_SRC_RX)/rx_stats.c
$(CRULE_NOOPT) $(TOP_SRC_RX)/rx_stats.c
+opr_rbtree.o: $(TOP_SRC_OPR)/rbtree.c
+ $(CRULE_OPT) $(TOP_SRC_OPR)/rbtree.c
+CFLAGS-opr-rbtree.o = -I$(TOP_INCDIR)/opr
xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
$(CRULE_NOOPT) $(TOP_SRC_RX)/xdr_rx.c
Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
CFLAGS_crypt_conn.o = -I${TOP_SRCDIR}/rxkad -I$(TOP_OBJDIR)/src/rxkad
CFLAGS_rxkad_client.o = -I${TOP_SRCDIR}/rxkad -I$(TOP_OBJDIR)/src/rxkad
CFLAGS_rxkad_common.o = -I${TOP_SRCDIR}/rxkad -I$(TOP_OBJDIR)/src/rxkad
+CFLAGS_opr_rbtree.o = -I${TOP_SRCDIR}/opr
CFLAGS_evp.o = -I$(TOP_SRCDIR)/external/heimdal/hcrypto \
-DHAVE_CONFIG_H
* to the replacement as appropriate.
*/
-static inline void
+static_inline void
update_parent_ptr(struct opr_rbtree *head, struct opr_rbtree_node *old,
struct opr_rbtree_node *replacement)
{
return parent;
}
-static inline void
+static_inline void
initnode(struct opr_rbtree_node *node)
{
node->left = node->right = node->parent = NULL;
node->red = 1;
}
-static inline void
+static_inline void
rotateright(struct opr_rbtree *head, struct opr_rbtree_node *node)
{
struct opr_rbtree_node *left = node->left;
node->parent = left;
}
-static inline void
+static_inline void
rotateleft(struct opr_rbtree *head, struct opr_rbtree_node *node)
{
struct opr_rbtree_node *right = node->right;
node->parent = right;
}
-static inline void
+static_inline void
swapnode(struct opr_rbtree_node **a, struct opr_rbtree_node **b)
{
struct opr_rbtree_node *tmp;