IDZEBRA  2.2.7
compact.c
Go to the documentation of this file.
1 /* This file is part of the Zebra server.
2  Copyright (C) Index Data
3 
4 Zebra is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8 
9 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 */
19 
20 
21 #if HAVE_CONFIG_H
22 #include <config.h>
23 #endif
24 #include <stdio.h>
25 #include <assert.h>
26 #include <string.h>
27 
28 #include "index.h"
29 #include "recindex.h"
30 
31 void inv_compact (BFiles bfs)
32 {
33  dict_copy_compact (bfs, FNAME_DICT, "out");
34 }
35 /*
36  * Local variables:
37  * c-basic-offset: 4
38  * c-file-style: "Stroustrup"
39  * indent-tabs-mode: nil
40  * End:
41  * vim: shiftwidth=4 tabstop=8 expandtab
42  */
43 
void inv_compact(BFiles bfs)
Definition: compact.c:31
int dict_copy_compact(BFiles bfs, const char *from, const char *to)
copies one dictionary to another
Definition: dcompact.c:90
#define FNAME_DICT
Definition: index.h:98