fix mt-mapperd pithos read bug. plus some minor fixes
[archipelago] / xseg / xtypes / xq.h
index 81b771d..c2307e7 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <sys/util.h>
 
-typedef uint32_t xqindex;
+typedef uint64_t xqindex;
 
 #include "xlock.h"
 
@@ -94,5 +94,12 @@ int       __xq_check      ( struct xq  * xq,
 int         xq_check        ( struct xq  * xq, 
                               xqindex      idx,
                               unsigned long who );
+
+xqindex      __xq_resize     ( struct xq  * xq,
+                              struct xq  * newxq);
+
+xqindex      xq_resize       ( struct xq  * xq,
+                              struct xq  * newxq,
+                              unsigned long who );
 #endif