NEWS: Add info about recent bugfix in 489d586.
[metastore.git] / metastore.h
blob9dbd19e506b3948703c88bae2858c4d8a23c6860
1 /*
2 * Main functions of the program.
4 * Copyright (C) 2007 David Härdeman <david@hardeman.nu>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; only version 2 of the License is applicable.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef METASTORE_H
21 #define METASTORE_H
23 /* Each file starts with SIGNATURE and VERSION */
24 #define SIGNATURE "MeTaSt00r3"
25 #define SIGNATURELEN 10
26 #define VERSION "\0\0\0\0\0\0\0\0"
27 #define VERSIONLEN 8
29 /* Default filename */
30 #define METAFILE "./.metadata"
32 /* Utility defines for the action to take */
33 #define ACTION_APPLY 0x01
34 #define ACTION_DIFF 0x02
35 #define ACTION_SAVE 0x10
36 #define ACTION_HELP 0x80
38 /* Action masks */
39 #define ACTIONS_READING 0x07
40 #define ACTIONS_WRITING 0x70
42 #endif /* METASTORE_H */