aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_configuration_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 15:08:16 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 15:08:16 +0200
commit3a995fce417f184fa8633af5f55b8e0eb06d84be (patch)
tree6c2f7b1e083521bc46e3cf8d16eaf3e21076ea3e /src/include/gnunet_configuration_lib.h
parent6a96e5fb0b33c1c9f236e84d8c1425f40eea7cc4 (diff)
downloadgnunet-3a995fce417f184fa8633af5f55b8e0eb06d84be.tar.gz
gnunet-3a995fce417f184fa8633af5f55b8e0eb06d84be.zip
fix gnunet-config: do not always write configuration file
Diffstat (limited to 'src/include/gnunet_configuration_lib.h')
-rw-r--r--src/include/gnunet_configuration_lib.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h
index ad55c1b9a..21a5ab810 100644
--- a/src/include/gnunet_configuration_lib.h
+++ b/src/include/gnunet_configuration_lib.h
@@ -177,11 +177,10 @@ GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg,
177 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 177 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
178 */ 178 */
179enum GNUNET_GenericReturnValue 179enum GNUNET_GenericReturnValue
180GNUNET_CONFIGURATION_write_diffs (const struct 180GNUNET_CONFIGURATION_write_diffs (
181 GNUNET_CONFIGURATION_Handle *cfg_default, 181 const struct GNUNET_CONFIGURATION_Handle *cfg_default,
182 const struct 182 const struct GNUNET_CONFIGURATION_Handle *cfg_new,
183 GNUNET_CONFIGURATION_Handle *cfg_new, 183 const char *filename);
184 const char *filename);
185 184
186 185
187/** 186/**
@@ -192,10 +191,9 @@ GNUNET_CONFIGURATION_write_diffs (const struct
192 * @return configuration with only the differences, never NULL 191 * @return configuration with only the differences, never NULL
193 */ 192 */
194struct GNUNET_CONFIGURATION_Handle * 193struct GNUNET_CONFIGURATION_Handle *
195GNUNET_CONFIGURATION_get_diff (const struct 194GNUNET_CONFIGURATION_get_diff (
196 GNUNET_CONFIGURATION_Handle *cfg_default, 195 const struct GNUNET_CONFIGURATION_Handle *cfg_default,
197 const struct 196 const struct GNUNET_CONFIGURATION_Handle *cfg_new);
198 GNUNET_CONFIGURATION_Handle *cfg_new);
199 197
200 198
201/** 199/**