forked from dungeons-of-moria/icmoria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
master.h
23 lines (20 loc) · 1.07 KB
/
master.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* master.h */
/* routines to handle the master file, which keeps track of save files */
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
#include <gdbm.h>
extern boolean master_file_open(GDBM_FILE *mf);
extern void master_file_close(GDBM_FILE *mf);
extern boolean master_file_read(GDBM_FILE mf, master_key *mkey,
master_entry *mentry);
extern boolean master_file_write(GDBM_FILE mf, master_key *mkey,
master_entry *mentry);
extern boolean master_file_write_new(GDBM_FILE mf, master_key *mkey,
master_entry *mentry);
extern boolean master_file_delete(GDBM_FILE mf, master_key *mkey);
extern int master_file_verify(GDBM_FILE mf, master_key *mkey);
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
/* END FILE master.h */