# Copyright (C) 1995-1998, Index Data
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.4 1999-02-15 08:52:37 adam Exp $
+# $Id: Makefile.in,v 1.5 1999-03-09 10:16:35 adam Exp $
SHELL=/bin/sh
DEFS=$(CDEFS) $(INCLUDE)
O1 = main.o dir.o dirs.o trav.o extract.o kinput.o kcompare.o \
symtab.o recindex.o recstat.o lockutil.o lockidx.o \
- zinfo.o invstat.o sortidx.o
+ zinfo.o invstat.o sortidx.o compact.o
O2 = kdump.o
O3 = zserver.o kcompare.o zrpn.o zsets.o attribute.o recindex.o \
lockutil.o locksrv.o zinfo.o trunc.o sortidx.o rank1.o zebraapi.o \
--- /dev/null
+/*
+ * Copyright (C) 1994-1999, Index Data
+ * All rights reserved.
+ * Sebastian Hammer, Adam Dickmeiss
+ *
+ * $Log: compact.c,v $
+ * Revision 1.1 1999-03-09 10:16:35 adam
+ * Work on compaction of dictionary/isamc.
+ *
+ */
+#include <stdio.h>
+#include <assert.h>
+#include <string.h>
+
+#include "index.h"
+#include "recindex.h"
+
+void inv_compact (BFiles bfs)
+{
+ dict_compact (bfs, FNAME_DICT, "out");
+}