Use cache in dict - not in bfile.
[idzebra-moved-to-github.git] / dict / close.c
1 /*
2  * Copyright (C) 1994, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: close.c,v $
7  * Revision 1.2  1994-08-17 13:32:19  adam
8  * Use cache in dict - not in bfile.
9  *
10  * Revision 1.1  1994/08/16  16:26:47  adam
11  * Added dict.
12  *
13  */
14
15 #include <stdlib.h>
16 #include <string.h>
17 #include <stdio.h>
18 #include <assert.h>
19
20 #include <dict.h>
21
22 int dict_close (Dict dict)
23 {
24     assert (dict);
25     
26     dict_bf_close (dict->dbf);
27     free (dict);
28     return 0;
29 }
30