Some development of dictionary. Not finished at all!
[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.3  1994-08-18 12:40:52  adam
8  * Some development of dictionary. Not finished at all!
9  *
10  * Revision 1.2  1994/08/17  13:32:19  adam
11  * Use cache in dict - not in bfile.
12  *
13  * Revision 1.1  1994/08/16  16:26:47  adam
14  * Added dict.
15  *
16  */
17
18 #include <stdlib.h>
19 #include <string.h>
20 #include <stdio.h>
21 #include <assert.h>
22
23 #include <dict.h>
24
25 int dict_close (Dict dict)
26 {
27     assert (dict);
28     
29     dict_bf_close (dict->dbf);
30     xfree (dict);
31     return 0;
32 }
33