Merge branch 'impro/switch-xattr-header'
[metastore.git] / metastore.h
blob9da0f001a8d74a575cf79874741856242e83e4ff
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 version 2 of the License.
9 *
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.
21 #ifndef METASTORE_H
22 #define METASTORE_H
24 /* Each file starts with SIGNATURE and VERSION */
25 #define SIGNATURE "MeTaSt00r3"
26 #define SIGNATURELEN 10
27 #define VERSION "\0\0\0\0\0\0\0\0"
28 #define VERSIONLEN 8
30 /* Default filename */
31 #define METAFILE "./.metadata"
33 /* Utility defines for the action to take */
34 #define ACTION_DIFF 0x01
35 #define ACTION_SAVE 0x02
36 #define ACTION_APPLY 0x04
37 #define ACTION_HELP 0x08
39 #endif /* METASTORE_H */