aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
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/namestore
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c3
-rw-r--r--src/namestore/gnunet-namestore.c1
-rw-r--r--src/namestore/gnunet-zoneimport.c1
-rw-r--r--src/namestore/namestore.h2
-rw-r--r--src/namestore/namestore_api_monitor.c1
-rw-r--r--src/namestore/plugin_namestore_flat.c1
-rw-r--r--src/namestore/plugin_namestore_postgres.c1
-rw-r--r--src/namestore/plugin_namestore_sqlite.c1
-rw-r--r--src/namestore/plugin_rest_namestore.c1
-rw-r--r--src/namestore/test_namestore_api_lookup_nick.c1
-rw-r--r--src/namestore/test_namestore_api_monitoring.c1
-rw-r--r--src/namestore/test_namestore_api_remove.c1
-rw-r--r--src/namestore/test_namestore_api_remove_not_existing_record.c1
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_specific_zone.c1
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_stop.c1
-rw-r--r--src/namestore/test_namestore_api_zone_to_name.c1
-rw-r--r--src/namestore/test_plugin_namestore.c1
17 files changed, 17 insertions, 3 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index 93048ca1a..ca9f6ed0e 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -698,6 +698,7 @@ lookup_it_processor (void *cls,
698 GNUNET_NAMESTORE_zone_iterator_next (request->lookup_it, 1); 698 GNUNET_NAMESTORE_zone_iterator_next (request->lookup_it, 1);
699} 699}
700 700
701
701static void 702static void
702lookup_it_finished (void *cls) 703lookup_it_finished (void *cls)
703{ 704{
@@ -729,6 +730,7 @@ lookup_it_finished (void *cls)
729 request); 730 request);
730} 731}
731 732
733
732/** 734/**
733 * Main MHD callback for handling requests. 735 * Main MHD callback for handling requests.
734 * 736 *
@@ -1212,4 +1214,5 @@ main (int argc,
1212 return ret; 1214 return ret;
1213} 1215}
1214 1216
1217
1215/* end of gnunet-namestore-fcfsd.c */ 1218/* end of gnunet-namestore-fcfsd.c */
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index 65c0f7726..df2b49a62 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -1677,4 +1677,5 @@ main (int argc, char *const *argv)
1677 return ret; 1677 return ret;
1678} 1678}
1679 1679
1680
1680/* end of gnunet-namestore.c */ 1681/* end of gnunet-namestore.c */
diff --git a/src/namestore/gnunet-zoneimport.c b/src/namestore/gnunet-zoneimport.c
index bbbe7d783..eca02bdc3 100644
--- a/src/namestore/gnunet-zoneimport.c
+++ b/src/namestore/gnunet-zoneimport.c
@@ -1881,4 +1881,5 @@ main (int argc, char *const *argv)
1881 return 0; 1881 return 0;
1882} 1882}
1883 1883
1884
1884/* end of gnunet-zoneimport.c */ 1885/* end of gnunet-zoneimport.c */
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h
index 0fb5bea7c..6f45ab1c1 100644
--- a/src/namestore/namestore.h
+++ b/src/namestore/namestore.h
@@ -185,7 +185,6 @@ struct LabelLookupResponseMessage
185}; 185};
186 186
187 187
188
189/** 188/**
190 * Lookup a name for a zone hash 189 * Lookup a name for a zone hash
191 */ 190 */
@@ -340,7 +339,6 @@ struct ZoneMonitorNextMessage
340}; 339};
341 340
342 341
343
344/** 342/**
345 * Start a zone iteration for the given zone 343 * Start a zone iteration for the given zone
346 */ 344 */
diff --git a/src/namestore/namestore_api_monitor.c b/src/namestore/namestore_api_monitor.c
index a7046c940..ab6140328 100644
--- a/src/namestore/namestore_api_monitor.c
+++ b/src/namestore/namestore_api_monitor.c
@@ -384,4 +384,5 @@ GNUNET_NAMESTORE_zone_monitor_stop (struct GNUNET_NAMESTORE_ZoneMonitor *zm)
384 GNUNET_free (zm); 384 GNUNET_free (zm);
385} 385}
386 386
387
387/* end of namestore_api_monitor.c */ 388/* end of namestore_api_monitor.c */
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c
index 89cab6e52..dbceab45d 100644
--- a/src/namestore/plugin_namestore_flat.c
+++ b/src/namestore/plugin_namestore_flat.c
@@ -811,4 +811,5 @@ libgnunet_plugin_namestore_flat_done (void *cls)
811 return NULL; 811 return NULL;
812} 812}
813 813
814
814/* end of plugin_namestore_flat.c */ 815/* end of plugin_namestore_flat.c */
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c
index 23893538b..d0fc33fe9 100644
--- a/src/namestore/plugin_namestore_postgres.c
+++ b/src/namestore/plugin_namestore_postgres.c
@@ -622,4 +622,5 @@ libgnunet_plugin_namestore_postgres_done (void *cls)
622 return NULL; 622 return NULL;
623} 623}
624 624
625
625/* end of plugin_namestore_postgres.c */ 626/* end of plugin_namestore_postgres.c */
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c
index fbf30567b..a909221e2 100644
--- a/src/namestore/plugin_namestore_sqlite.c
+++ b/src/namestore/plugin_namestore_sqlite.c
@@ -787,4 +787,5 @@ libgnunet_plugin_namestore_sqlite_done (void *cls)
787 return NULL; 787 return NULL;
788} 788}
789 789
790
790/* end of plugin_namestore_sqlite.c */ 791/* end of plugin_namestore_sqlite.c */
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c
index 07b3840c5..d2a93a286 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -947,4 +947,5 @@ libgnunet_plugin_rest_namestore_done (void *cls)
947 return NULL; 947 return NULL;
948} 948}
949 949
950
950/* end of plugin_rest_namestore.c */ 951/* end of plugin_rest_namestore.c */
diff --git a/src/namestore/test_namestore_api_lookup_nick.c b/src/namestore/test_namestore_api_lookup_nick.c
index 976e8bc1e..b3946de34 100644
--- a/src/namestore/test_namestore_api_lookup_nick.c
+++ b/src/namestore/test_namestore_api_lookup_nick.c
@@ -305,6 +305,7 @@ run (void *cls,
305 } 305 }
306} 306}
307 307
308
308#include "test_common.c" 309#include "test_common.c"
309 310
310 311
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/namestore/test_namestore_api_monitoring.c
index f7271cd76..a23424d30 100644
--- a/src/namestore/test_namestore_api_monitoring.c
+++ b/src/namestore/test_namestore_api_monitoring.c
@@ -30,7 +30,6 @@
30#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT 30#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT
31 31
32 32
33
34#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) 33#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100)
35 34
36 35
diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c
index 10160cd13..ff826804e 100644
--- a/src/namestore/test_namestore_api_remove.c
+++ b/src/namestore/test_namestore_api_remove.c
@@ -222,4 +222,5 @@ main (int argc, char *argv[])
222 return res; 222 return res;
223} 223}
224 224
225
225/* end of test_namestore_api_remove.c */ 226/* end of test_namestore_api_remove.c */
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c
index 5558696a8..217f8a51a 100644
--- a/src/namestore/test_namestore_api_remove_not_existing_record.c
+++ b/src/namestore/test_namestore_api_remove_not_existing_record.c
@@ -179,4 +179,5 @@ main (int argc, char *argv[])
179 return res; 179 return res;
180} 180}
181 181
182
182/* end of test_namestore_api_remove_not_existing_record.c */ 183/* end of test_namestore_api_remove_not_existing_record.c */
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
index 50c247b14..d37fb8cd3 100644
--- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
+++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
@@ -455,4 +455,5 @@ main (int argc, char *argv[])
455 return res; 455 return res;
456} 456}
457 457
458
458/* end of test_namestore_api_zone_iteration_specific_zone.c */ 459/* end of test_namestore_api_zone_iteration_specific_zone.c */
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c
index 2f8ea9a97..81fb4de7e 100644
--- a/src/namestore/test_namestore_api_zone_iteration_stop.c
+++ b/src/namestore/test_namestore_api_zone_iteration_stop.c
@@ -473,4 +473,5 @@ main (int argc, char *argv[])
473 return res; 473 return res;
474} 474}
475 475
476
476/* end of test_namestore_api_zone_iteration_stop.c */ 477/* end of test_namestore_api_zone_iteration_stop.c */
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c
index 68f2461f1..65366e267 100644
--- a/src/namestore/test_namestore_api_zone_to_name.c
+++ b/src/namestore/test_namestore_api_zone_to_name.c
@@ -266,4 +266,5 @@ main (int argc,
266 return res; 266 return res;
267} 267}
268 268
269
269/* end of test_namestore_api_zone_to_name.c */ 270/* end of test_namestore_api_zone_to_name.c */
diff --git a/src/namestore/test_plugin_namestore.c b/src/namestore/test_plugin_namestore.c
index 03b1a21e4..0f9ce97e4 100644
--- a/src/namestore/test_plugin_namestore.c
+++ b/src/namestore/test_plugin_namestore.c
@@ -201,4 +201,5 @@ main (int argc, char *argv[])
201 return ok; 201 return ok;
202} 202}
203 203
204
204/* end of test_plugin_namestore.c */ 205/* end of test_plugin_namestore.c */