aboutsummaryrefslogtreecommitdiff
path: root/src/namecache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/namecache
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/namecache')
-rw-r--r--src/namecache/gnunet-namecache.c1
-rw-r--r--src/namecache/plugin_namecache_flat.c5
-rw-r--r--src/namecache/plugin_namecache_postgres.c1
-rw-r--r--src/namecache/plugin_namecache_sqlite.c1
-rw-r--r--src/namecache/test_namecache_api_cache_block.c1
-rw-r--r--src/namecache/test_plugin_namecache.c1
6 files changed, 9 insertions, 1 deletions
diff --git a/src/namecache/gnunet-namecache.c b/src/namecache/gnunet-namecache.c
index 20729e125..15a0c96ee 100644
--- a/src/namecache/gnunet-namecache.c
+++ b/src/namecache/gnunet-namecache.c
@@ -242,4 +242,5 @@ main (int argc, char *const *argv)
242 return ret; 242 return ret;
243} 243}
244 244
245
245/* end of gnunet-namecache.c */ 246/* end of gnunet-namecache.c */
diff --git a/src/namecache/plugin_namecache_flat.c b/src/namecache/plugin_namecache_flat.c
index 14406c13d..69b54fcf3 100644
--- a/src/namecache/plugin_namecache_flat.c
+++ b/src/namecache/plugin_namecache_flat.c
@@ -188,6 +188,7 @@ database_setup (struct Plugin *plugin)
188 return GNUNET_OK; 188 return GNUNET_OK;
189} 189}
190 190
191
191/** 192/**
192 * Store values in hashmap in file and free data 193 * Store values in hashmap in file and free data
193 * 194 *
@@ -232,6 +233,7 @@ store_and_free_entries (void *cls,
232 return GNUNET_YES; 233 return GNUNET_YES;
233} 234}
234 235
236
235/** 237/**
236 * Shutdown database connection and associate data 238 * Shutdown database connection and associate data
237 * structures. 239 * structures.
@@ -263,6 +265,7 @@ database_shutdown (struct Plugin *plugin)
263 GNUNET_DISK_file_close (fh); 265 GNUNET_DISK_file_close (fh);
264} 266}
265 267
268
266static int 269static int
267expire_blocks (void *cls, 270expire_blocks (void *cls,
268 const struct GNUNET_HashCode *key, 271 const struct GNUNET_HashCode *key,
@@ -285,7 +288,6 @@ expire_blocks (void *cls,
285} 288}
286 289
287 290
288
289/** 291/**
290 * Removes any expired block. 292 * Removes any expired block.
291 * 293 *
@@ -430,4 +432,5 @@ libgnunet_plugin_namecache_flat_done (void *cls)
430 return NULL; 432 return NULL;
431} 433}
432 434
435
433/* end of plugin_namecache_sqlite.c */ 436/* end of plugin_namecache_sqlite.c */
diff --git a/src/namecache/plugin_namecache_postgres.c b/src/namecache/plugin_namecache_postgres.c
index 35bf5c2ff..f4a114e22 100644
--- a/src/namecache/plugin_namecache_postgres.c
+++ b/src/namecache/plugin_namecache_postgres.c
@@ -348,4 +348,5 @@ libgnunet_plugin_namecache_postgres_done (void *cls)
348 return NULL; 348 return NULL;
349} 349}
350 350
351
351/* end of plugin_namecache_postgres.c */ 352/* end of plugin_namecache_postgres.c */
diff --git a/src/namecache/plugin_namecache_sqlite.c b/src/namecache/plugin_namecache_sqlite.c
index ee3ec7eab..8f762cb40 100644
--- a/src/namecache/plugin_namecache_sqlite.c
+++ b/src/namecache/plugin_namecache_sqlite.c
@@ -592,4 +592,5 @@ libgnunet_plugin_namecache_sqlite_done (void *cls)
592 return NULL; 592 return NULL;
593} 593}
594 594
595
595/* end of plugin_namecache_sqlite.c */ 596/* end of plugin_namecache_sqlite.c */
diff --git a/src/namecache/test_namecache_api_cache_block.c b/src/namecache/test_namecache_api_cache_block.c
index 2b25a26f9..9b150c9d9 100644
--- a/src/namecache/test_namecache_api_cache_block.c
+++ b/src/namecache/test_namecache_api_cache_block.c
@@ -148,6 +148,7 @@ name_lookup_proc (void *cls,
148 (void *) name)); 148 (void *) name));
149} 149}
150 150
151
151static void 152static void
152cache_cont (void *cls, int32_t success, const char *emsg) 153cache_cont (void *cls, int32_t success, const char *emsg)
153{ 154{
diff --git a/src/namecache/test_plugin_namecache.c b/src/namecache/test_plugin_namecache.c
index e4ca145d7..5e0cd7cfd 100644
--- a/src/namecache/test_plugin_namecache.c
+++ b/src/namecache/test_plugin_namecache.c
@@ -128,4 +128,5 @@ main (int argc, char *argv[])
128 return ok; 128 return ok;
129} 129}
130 130
131
131/* end of test_plugin_namecache.c */ 132/* end of test_plugin_namecache.c */