gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -formatting / comments


From: gnunet
Subject: [gnunet] branch master updated: -formatting / comments
Date: Wed, 28 Jul 2021 15:55:08 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new f550f04aa -formatting / comments
f550f04aa is described below

commit f550f04aa52852ca0d04552a5e103f51ff1023e6
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Jul 28 15:51:49 2021 +0200

    -formatting / comments
---
 src/util/configuration.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/util/configuration.c b/src/util/configuration.c
index f091c4674..06938be67 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -238,11 +238,19 @@ GNUNET_CONFIGURATION_parse_and_run (const char *filename,
   return ret;
 }
 
+
+/**
+ * Closure to inline_glob_cb.
+ */
 struct InlineGlobClosure
 {
+  /**
+   * Configuration to read inlined configuration into.
+   */
   struct GNUNET_CONFIGURATION_Handle *cfg;
 };
 
+
 /**
  * Function called with a filename.
  *
@@ -291,6 +299,7 @@ find_section (const struct GNUNET_CONFIGURATION_Handle *cfg,
   return pos;
 }
 
+
 static void
 set_section_inaccessible (struct GNUNET_CONFIGURATION_Handle *cfg,
                           const char *section)
@@ -311,6 +320,7 @@ set_section_inaccessible (struct 
GNUNET_CONFIGURATION_Handle *cfg,
   sec->inaccessible = true;
 }
 
+
 /**
  * Handle an inline directive.
  *
@@ -438,10 +448,10 @@ handle_inline (struct GNUNET_CONFIGURATION_Handle *cfg,
 
 
 enum GNUNET_GenericReturnValue
-deserialize_internal (struct GNUNET_CONFIGURATION_Handle *cfg,
-                      const char *mem,
-                      size_t size,
-                      const char *source_filename)
+GNUNET_CONFIGURATION_deserialize (struct GNUNET_CONFIGURATION_Handle *cfg,
+                                  const char *mem,
+                                  size_t size,
+                                  const char *source_filename)
 {
   size_t line_size;
   unsigned int nr;
@@ -668,16 +678,6 @@ deserialize_internal (struct GNUNET_CONFIGURATION_Handle 
*cfg,
 }
 
 
-enum GNUNET_GenericReturnValue
-GNUNET_CONFIGURATION_deserialize (struct GNUNET_CONFIGURATION_Handle *cfg,
-                                  const char *mem,
-                                  size_t size,
-                                  const char *source_filename)
-{
-  return deserialize_internal (cfg, mem, size, source_filename);
-}
-
-
 enum GNUNET_GenericReturnValue
 GNUNET_CONFIGURATION_parse (struct GNUNET_CONFIGURATION_Handle *cfg,
                             const char *filename)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]