Moved zebrautl.h to idzebra/util.h.
[idzebra-moved-to-github.git] / index / zebraapi.c
index d0f4e79..24ae25f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zebraapi.c,v 1.153 2005-03-08 14:02:12 adam Exp $
+/* $Id: zebraapi.c,v 1.156 2005-03-17 08:31:53 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -2112,7 +2112,7 @@ int zebra_search_PQF (ZebraHandle zh, const char *pqf_query,
     
     odr_destroy(odr);
 
-    yaz_log(log_level, "Hits: %d",hits);
+    yaz_log(log_level, "Hits: " ZINT_FORMAT, hits);
 
     if (numhits)
        *numhits = hits;
@@ -2159,3 +2159,9 @@ int zebra_sort_by_specstr (ZebraHandle zh, ODR stream,
     return sort_status;
 }
 
+struct BFiles_struct *zebra_get_bfs(ZebraHandle zh)
+{
+    if (zh && zh->reg)
+       return zh->reg->bfs;
+    return 0;
+}