X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Frecstat.c;h=3015264ac37b99d3b37fdfd20425526aa4bba1d1;hb=83533000f9456dcab2fc171abafd84d6104d4087;hp=c5cd78d5c2504ebc59749671efb908598aa5175c;hpb=f4c557cfebb4fa779a858c7d305081d4d92578da;p=idzebra-moved-to-github.git diff --git a/index/recstat.c b/index/recstat.c index c5cd78d..3015264 100644 --- a/index/recstat.c +++ b/index/recstat.c @@ -1,10 +1,23 @@ /* - * Copyright (C) 1994-1996, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: recstat.c,v $ - * Revision 1.3 1996-06-04 10:19:00 adam + * Revision 1.7 1999-02-02 14:51:06 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.6 1998/01/12 15:04:08 adam + * The test option (-s) only uses read-lock (and not write lock). + * + * 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 @@ -22,13 +35,13 @@ #include #include #include +#ifndef WIN32 #include - +#endif #include "recindxp.h" -void rec_prstat (void) +void rec_prstat (Records records) { - Records records = rec_open (0); int i; int total_bytes = 0; @@ -52,5 +65,4 @@ void rec_prstat (void) records->head.total_bytes); logf (LOG_LOG, "Total size with overhead %8d", total_bytes); - rec_close (&records); }