diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/peerstore/plugin_peerstore_flat.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/peerstore/plugin_peerstore_flat.c')
-rw-r--r-- | src/peerstore/plugin_peerstore_flat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/peerstore/plugin_peerstore_flat.c b/src/peerstore/plugin_peerstore_flat.c index 224664685..6983ff2d8 100644 --- a/src/peerstore/plugin_peerstore_flat.c +++ b/src/peerstore/plugin_peerstore_flat.c | |||
@@ -146,6 +146,7 @@ peerstore_flat_delete_records (void *cls, const char *sub_system, | |||
146 | return plugin->deleted_entries; | 146 | return plugin->deleted_entries; |
147 | } | 147 | } |
148 | 148 | ||
149 | |||
149 | static int | 150 | static int |
150 | expire_entries (void *cls, | 151 | expire_entries (void *cls, |
151 | const struct GNUNET_HashCode *key, | 152 | const struct GNUNET_HashCode *key, |
@@ -163,7 +164,6 @@ expire_entries (void *cls, | |||
163 | } | 164 | } |
164 | 165 | ||
165 | 166 | ||
166 | |||
167 | /** | 167 | /** |
168 | * Delete expired records (expiry < now) | 168 | * Delete expired records (expiry < now) |
169 | * | 169 | * |
@@ -222,6 +222,7 @@ iterate_entries (void *cls, | |||
222 | return GNUNET_YES; | 222 | return GNUNET_YES; |
223 | } | 223 | } |
224 | 224 | ||
225 | |||
225 | /** | 226 | /** |
226 | * Iterate over the records given an optional peer id | 227 | * Iterate over the records given an optional peer id |
227 | * and/or key. | 228 | * and/or key. |
@@ -478,6 +479,7 @@ database_setup (struct Plugin *plugin) | |||
478 | return GNUNET_OK; | 479 | return GNUNET_OK; |
479 | } | 480 | } |
480 | 481 | ||
482 | |||
481 | static int | 483 | static int |
482 | store_and_free_entries (void *cls, | 484 | store_and_free_entries (void *cls, |
483 | const struct GNUNET_HashCode *key, | 485 | const struct GNUNET_HashCode *key, |
@@ -517,6 +519,7 @@ store_and_free_entries (void *cls, | |||
517 | return GNUNET_YES; | 519 | return GNUNET_YES; |
518 | } | 520 | } |
519 | 521 | ||
522 | |||
520 | /** | 523 | /** |
521 | * Shutdown database connection and associate data | 524 | * Shutdown database connection and associate data |
522 | * structures. | 525 | * structures. |
@@ -599,4 +602,5 @@ libgnunet_plugin_peerstore_flat_done (void *cls) | |||
599 | return NULL; | 602 | return NULL; |
600 | } | 603 | } |
601 | 604 | ||
605 | |||
602 | /* end of plugin_peerstore_sqlite.c */ | 606 | /* end of plugin_peerstore_sqlite.c */ |