metastore.c: Fix wrong type in formatting string.
[metastore.git] / src / settings.h
blobb6baa50fa364c15c0737c33ef27b42ea91169dd6
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2013 Przemyslaw Pawelczyk <przemoc@gmail.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; only version 2 of the License is applicable.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * See the GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef SETTINGS_H
19 #define SETTINGS_H
21 #include <stdbool.h>
23 /* Data structure to hold metastore settings */
24 struct metasettings {
25 char *metafile; /* path to the file containing the metadata */
26 bool do_mtime; /* should mtimes be corrected? */
27 bool do_emptydirs; /* should empty dirs be recreated? */
28 bool do_removeemptydirs; /* should new empty dirs be removed? */
29 bool do_git; /* should .git dirs be processed? */
32 /* Convenient typedef for immutable settings */
33 typedef const struct metasettings msettings;
35 #endif /* SETTINGS_H */