Declare libdconf_service as a dependency
[dconf.git] / service / dconf-gvdb-utils.h
blob7076781aa260aaeae9308013e86e1a8968d4b89b
1 /*
2 * Copyright © 2010 Codethink Limited
3 * Copyright © 2012 Canonical Limited
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the licence, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Ryan Lortie <desrt@desrt.ca>
21 #ifndef __dconf_gvdb_utils_h__
22 #define __dconf_gvdb_utils_h__
24 #include "../common/dconf-changeset.h"
26 DConfChangeset * dconf_gvdb_utils_read_and_back_up_file (const gchar *filename,
27 gboolean *file_missing,
28 GError **error);
29 gboolean dconf_gvdb_utils_write_file (const gchar *filename,
30 DConfChangeset *database,
31 GError **error);
33 #endif /* __dconf_gvdb_utils_h__ */