gdbm (1.23)
1 /* dbm.h - The include file for dbm users. */
2
3 /* This file is part of GDBM, the GNU data base manager, by Philip A. Nelson.
4 Copyright (C) 1990-2022 Free Software Foundation, Inc.
5
6 GDBM is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GDBM is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GDBM. If not, see <http://www.gnu.org/licenses/>.
18
19 You may contact the author by:
20 e-mail: phil@cs.wwu.edu
21 us-mail: Philip A. Nelson
22 Computer Science Department
23 Western Washington University
24 Bellingham, WA 98226
25
26 *************************************************************************/
27
28 #include <gdbm.h>
29
30 /* These are the routines in dbm. */
31
32 extern int dbminit (char *file);
33 extern datum fetch (datum key);
34 extern int store (datum key, datum content);
35 extern int delete (datum key);
36 extern datum firstkey (void);
37 extern datum nextkey (datum key);
38 extern int dbmclose (void);