Mailing List Archive

cvs commit: apache-2.0/src/include ap_buckets.h
rbb 00/09/12 18:59:35

Modified: src/include ap_buckets.h
Log:
Wrap the UNSPLICE macro for use with bucket brigades. This allows buckets
to be removed from a brigade

Revision Changes Path
1.26 +2 -1 apache-2.0/src/include/ap_buckets.h

Index: ap_buckets.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/include/ap_buckets.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ap_buckets.h 2000/09/09 06:48:08 1.25
+++ ap_buckets.h 2000/09/13 01:59:34 1.26
@@ -247,6 +247,8 @@
#define AP_BRIGADE_CONCAT(a, b) \
AP_RING_CONCAT(&(a)->list, &(b)->list, ap_bucket, link)

+#define AP_BRIGADE_UNSPLICE(a, b) AP_RING_UNSPLICE((a), (b), link)
+
#define AP_BUCKET_INSERT_BEFORE(a, b) \
AP_RING_INSERT_BEFORE((a), (b), link)
#define AP_BUCKET_INSERT_AFTER(a, b) \
@@ -256,7 +258,6 @@
#define AP_BUCKET_PREV(e) AP_RING_PREV((e), link)

#define AP_BUCKET_REMOVE(e) AP_RING_REMOVE((e), link)
-

/**
* General-purpose reference counting for the varous bucket types.