Merge branch 'lfqueue-dev' into lfqueue-dev2
[userspace-rcu.git] / rculfqueue.c
index c8445256d09dc7e2534992a683592942c2e1259c..eac5e8b39c3350d5ca98d0f82b17303bfe65aa57 100644 (file)
@@ -27,7 +27,7 @@
 #undef _LGPL_SOURCE
 /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
 #include "urcu/rculfqueue.h"
-#include "urcu/rculfqueue-static.h"
+#include "urcu/static/rculfqueue.h"
 
 /*
  * library wrappers to be used by non-LGPL compatible source code.
@@ -38,10 +38,19 @@ void cds_lfq_node_init_rcu(struct cds_lfq_node_rcu *node)
        _cds_lfq_node_init_rcu(node);
 }
 
-void cds_lfq_init_rcu(struct cds_lfq_queue_rcu *q,
-                     void (*release)(struct urcu_ref *ref))
+void cds_lfq_init_rcu(struct cds_lfq_queue_rcu *q)
 {
-       _cds_lfq_init_rcu(q, release);
+       _cds_lfq_init_rcu(q);
+}
+
+int cds_lfq_is_empty(struct cds_lfq_queue_rcu *q)
+{
+       return _cds_lfq_is_empty(q);
+}
+
+int cds_lfq_destroy_rcu(struct cds_lfq_queue_rcu *q)
+{
+       return _cds_lfq_destroy_rcu(q);
 }
 
 void cds_lfq_enqueue_rcu(struct cds_lfq_queue_rcu *q, struct cds_lfq_node_rcu *node)
This page took 0.02373 seconds and 4 git commands to generate.