/*
- * Copyright (C) 1994-1995, Index Data I/S
+ * Copyright (C) 1994-1996, Index Data I/S
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recstat.c,v $
- * Revision 1.1 1995-12-06 12:41:26 adam
+ * Revision 1.5 1997-09-17 12:19:17 adam
+ * Zebra version corresponds to YAZ version 1.4.
+ * Changed Zebra server so that it doesn't depend on global common_resource.
+ *
+ * Revision 1.4 1997/09/09 13:38:08 adam
+ * Partial port to WIN95/NT.
+ *
+ * Revision 1.3 1996/06/04 10:19:00 adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.2 1996/05/14 14:04:34 adam
+ * In zebraidx, the 'stat' command is improved. Statistics about ISAM/DICT
+ * is collected.
+ *
+ * Revision 1.1 1995/12/06 12:41:26 adam
* New command 'stat' for the index program.
* Filenames can be read from stdin by specifying '-'.
* Bug fix/enhancement of the transformation from terms to regular
#include <stdio.h>
#include <assert.h>
#include <string.h>
-#include <ctype.h>
-#include <assert.h>
#include <fcntl.h>
+#ifndef WINDOWS
#include <unistd.h>
-
+#endif
#include "recindxp.h"
-void rec_prstat (void)
+void rec_prstat (BFiles bfs)
{
- Records records = rec_open (0);
+ Records records = rec_open (bfs, 0);
int i;
int total_bytes = 0;