1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Main functions of the program.
5 * Copyright (C) 2007-2008 David Härdeman <david@hardeman.nu>
6 * Copyright (C) 2013-2015 Przemyslaw Pawelczyk <przemoc@gmail.com>
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; only version 2 of the License is applicable.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
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"
30 /* Default filename */
31 #define METAFILE "./.metadata"
33 /* Utility defines for the action to take */
34 #define ACTION_APPLY 0x01
35 #define ACTION_DIFF 0x02
36 #define ACTION_DUMP 0x04
37 #define ACTION_SAVE 0x10
38 #define ACTION_VER 0x08
39 #define ACTION_HELP 0x80
42 #define ACTIONS_READING 0x07
43 #define ACTIONS_WRITING 0x70
45 /* Possible build defines */
51 #define NO_XATTR_MSG "no XATTR support"
53 #endif /* METASTORE_H */