diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 15:08:16 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 15:08:16 +0200 |
commit | 3a995fce417f184fa8633af5f55b8e0eb06d84be (patch) | |
tree | 6c2f7b1e083521bc46e3cf8d16eaf3e21076ea3e /src/include/gnunet_configuration_lib.h | |
parent | 6a96e5fb0b33c1c9f236e84d8c1425f40eea7cc4 (diff) | |
download | gnunet-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.h | 16 |
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 | */ |
179 | enum GNUNET_GenericReturnValue | 179 | enum GNUNET_GenericReturnValue |
180 | GNUNET_CONFIGURATION_write_diffs (const struct | 180 | GNUNET_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 | */ |
194 | struct GNUNET_CONFIGURATION_Handle * | 193 | struct GNUNET_CONFIGURATION_Handle * |
195 | GNUNET_CONFIGURATION_get_diff (const struct | 194 | GNUNET_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 | /** |