diff options
Diffstat (limited to 'src/fs')
54 files changed, 65 insertions, 23 deletions
diff --git a/src/fs/fs_api.h b/src/fs/fs_api.h index f7eb40b42..0228e37ce 100644 --- a/src/fs/fs_api.h +++ b/src/fs/fs_api.h | |||
@@ -676,7 +676,6 @@ void * | |||
676 | GNUNET_FS_make_file_reader_context_ (const char *filename); | 676 | GNUNET_FS_make_file_reader_context_ (const char *filename); |
677 | 677 | ||
678 | 678 | ||
679 | |||
680 | /** | 679 | /** |
681 | * Function that provides data by copying from a buffer. | 680 | * Function that provides data by copying from a buffer. |
682 | * | 681 | * |
@@ -799,7 +798,6 @@ void | |||
799 | GNUNET_FS_download_start_task_ (void *cls); | 798 | GNUNET_FS_download_start_task_ (void *cls); |
800 | 799 | ||
801 | 800 | ||
802 | |||
803 | /** | 801 | /** |
804 | * Fill in all of the generic fields for | 802 | * Fill in all of the generic fields for |
805 | * an unindex event and call the callback. | 803 | * an unindex event and call the callback. |
@@ -1064,7 +1062,6 @@ GNUNET_FS_end_top (struct GNUNET_FS_Handle *h, | |||
1064 | struct TopLevelActivity *top); | 1062 | struct TopLevelActivity *top); |
1065 | 1063 | ||
1066 | 1064 | ||
1067 | |||
1068 | /** | 1065 | /** |
1069 | * Master context for most FS operations. | 1066 | * Master context for most FS operations. |
1070 | */ | 1067 | */ |
diff --git a/src/fs/fs_directory.c b/src/fs/fs_directory.c index 5e1e0af5e..1ef5fa3bb 100644 --- a/src/fs/fs_directory.c +++ b/src/fs/fs_directory.c | |||
@@ -317,6 +317,7 @@ GNUNET_FS_directory_list_contents (size_t size, | |||
317 | return GNUNET_OK; | 317 | return GNUNET_OK; |
318 | } | 318 | } |
319 | 319 | ||
320 | |||
320 | /** | 321 | /** |
321 | * Entries in the directory (builder). | 322 | * Entries in the directory (builder). |
322 | */ | 323 | */ |
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index e7ea87e50..4d03b6546 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -463,8 +463,7 @@ try_match_block (struct GNUNET_FS_DownloadContext *dc, | |||
463 | thus, reconstruction of (some) inner blocks will fail. | 463 | thus, reconstruction of (some) inner blocks will fail. |
464 | FIXME: we might eventually want to write a tighter test to | 464 | FIXME: we might eventually want to write a tighter test to |
465 | maximize the circumstances under which we do succeed with | 465 | maximize the circumstances under which we do succeed with |
466 | IBlock reconstruction. (need good tests though). */ | 466 | IBlock reconstruction. (need good tests though). */return; |
467 | return; | ||
468 | } | 467 | } |
469 | complete = GNUNET_YES; | 468 | complete = GNUNET_YES; |
470 | for (i = 0; i < dr->num_children; i++) | 469 | for (i = 0; i < dr->num_children; i++) |
@@ -2285,6 +2284,7 @@ GNUNET_FS_download_start_downloading_ (struct GNUNET_FS_DownloadContext *dc) | |||
2285 | dc->job_queue); | 2284 | dc->job_queue); |
2286 | } | 2285 | } |
2287 | 2286 | ||
2287 | |||
2288 | /** | 2288 | /** |
2289 | * Suspend a download. | 2289 | * Suspend a download. |
2290 | * | 2290 | * |
@@ -2414,4 +2414,5 @@ GNUNET_FS_download_stop (struct GNUNET_FS_DownloadContext *dc, int do_delete) | |||
2414 | GNUNET_free (dc); | 2414 | GNUNET_free (dc); |
2415 | } | 2415 | } |
2416 | 2416 | ||
2417 | |||
2417 | /* end of fs_download.c */ | 2418 | /* end of fs_download.c */ |
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index bbbc30a6e..28bbf12dd 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -49,6 +49,7 @@ GNUNET_FS_file_information_get_id (struct GNUNET_FS_FileInformation *s) | |||
49 | return s->serialization; | 49 | return s->serialization; |
50 | } | 50 | } |
51 | 51 | ||
52 | |||
52 | /** | 53 | /** |
53 | * Obtain the filename from the file information structure. | 54 | * Obtain the filename from the file information structure. |
54 | * | 55 | * |
diff --git a/src/fs/fs_getopt.c b/src/fs/fs_getopt.c index 84c1f6123..43a02a9fa 100644 --- a/src/fs/fs_getopt.c +++ b/src/fs/fs_getopt.c | |||
@@ -240,6 +240,7 @@ getopt_set_metadata (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | |||
240 | return GNUNET_OK; | 240 | return GNUNET_OK; |
241 | } | 241 | } |
242 | 242 | ||
243 | |||
243 | /** | 244 | /** |
244 | * Allow user to specify metadata. | 245 | * Allow user to specify metadata. |
245 | * | 246 | * |
@@ -270,6 +271,4 @@ GNUNET_FS_GETOPT_METADATA (char shortName, | |||
270 | } | 271 | } |
271 | 272 | ||
272 | 273 | ||
273 | |||
274 | |||
275 | /* end of fs_getopt.c */ | 274 | /* end of fs_getopt.c */ |
diff --git a/src/fs/fs_publish_ublock.c b/src/fs/fs_publish_ublock.c index c50e71f0b..2d118ee51 100644 --- a/src/fs/fs_publish_ublock.c +++ b/src/fs/fs_publish_ublock.c | |||
@@ -320,4 +320,5 @@ GNUNET_FS_publish_ublock_cancel_ (struct GNUNET_FS_PublishUblockContext *uc) | |||
320 | GNUNET_free (uc); | 320 | GNUNET_free (uc); |
321 | } | 321 | } |
322 | 322 | ||
323 | |||
323 | /* end of fs_publish_ublock.c */ | 324 | /* end of fs_publish_ublock.c */ |
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index 62ff4e90d..8e2d7deba 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c | |||
@@ -1831,4 +1831,5 @@ GNUNET_FS_search_stop (struct GNUNET_FS_SearchContext *sc) | |||
1831 | GNUNET_free (sc); | 1831 | GNUNET_free (sc); |
1832 | } | 1832 | } |
1833 | 1833 | ||
1834 | |||
1834 | /* end of fs_search.c */ | 1835 | /* end of fs_search.c */ |
diff --git a/src/fs/fs_sharetree.c b/src/fs/fs_sharetree.c index dab5d00a0..e291938b5 100644 --- a/src/fs/fs_sharetree.c +++ b/src/fs/fs_sharetree.c | |||
@@ -452,4 +452,5 @@ GNUNET_FS_share_tree_free (struct GNUNET_FS_ShareTreeItem *toplevel) | |||
452 | GNUNET_free (toplevel); | 452 | GNUNET_free (toplevel); |
453 | } | 453 | } |
454 | 454 | ||
455 | |||
455 | /* end fs_sharetree.c */ | 456 | /* end fs_sharetree.c */ |
diff --git a/src/fs/fs_test_lib.h b/src/fs/fs_test_lib.h index 87bc90bd6..36244eb19 100644 --- a/src/fs/fs_test_lib.h +++ b/src/fs/fs_test_lib.h | |||
@@ -99,5 +99,4 @@ GNUNET_FS_TEST_download (struct GNUNET_TESTBED_Peer *peer, | |||
99 | void *cont_cls); | 99 | void *cont_cls); |
100 | 100 | ||
101 | 101 | ||
102 | |||
103 | #endif | 102 | #endif |
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index 177f151f2..e7f922823 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -459,4 +459,5 @@ GNUNET_FS_tree_encoder_finish (struct GNUNET_FS_TreeEncoder *te, | |||
459 | GNUNET_free (te); | 459 | GNUNET_free (te); |
460 | } | 460 | } |
461 | 461 | ||
462 | |||
462 | /* end of fs_tree.c */ | 463 | /* end of fs_tree.c */ |
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index c35d49312..f2315d7d0 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -897,4 +897,5 @@ GNUNET_FS_unindex_stop (struct GNUNET_FS_UnindexContext *uc) | |||
897 | GNUNET_free (uc); | 897 | GNUNET_free (uc); |
898 | } | 898 | } |
899 | 899 | ||
900 | |||
900 | /* end of fs_unindex.c */ | 901 | /* end of fs_unindex.c */ |
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index 7eb9f86b0..c1faf4f12 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c | |||
@@ -265,6 +265,7 @@ percent_decode_keyword (const char *in, char **emsg) | |||
265 | return ret; | 265 | return ret; |
266 | } | 266 | } |
267 | 267 | ||
268 | |||
268 | #define GNUNET_FS_URI_KSK_PREFIX GNUNET_FS_URI_PREFIX GNUNET_FS_URI_KSK_INFIX | 269 | #define GNUNET_FS_URI_KSK_PREFIX GNUNET_FS_URI_PREFIX GNUNET_FS_URI_KSK_INFIX |
269 | 270 | ||
270 | /** | 271 | /** |
@@ -397,6 +398,7 @@ uri_sks_parse (const char *s, char **emsg) | |||
397 | return ret; | 398 | return ret; |
398 | } | 399 | } |
399 | 400 | ||
401 | |||
400 | #define GNUNET_FS_URI_CHK_PREFIX GNUNET_FS_URI_PREFIX GNUNET_FS_URI_CHK_INFIX | 402 | #define GNUNET_FS_URI_CHK_PREFIX GNUNET_FS_URI_PREFIX GNUNET_FS_URI_CHK_INFIX |
401 | 403 | ||
402 | 404 | ||
@@ -1679,6 +1681,8 @@ get_keywords_from_tokens (const char *s, char **array, int index) | |||
1679 | GNUNET_free (ss); | 1681 | GNUNET_free (ss); |
1680 | return seps; | 1682 | return seps; |
1681 | } | 1683 | } |
1684 | |||
1685 | |||
1682 | #undef TOKENS | 1686 | #undef TOKENS |
1683 | 1687 | ||
1684 | 1688 | ||
@@ -1719,8 +1723,7 @@ gather_uri_data (void *cls, | |||
1719 | * If given non-utf8 string it will, most likely, find it to be invalid, | 1723 | * If given non-utf8 string it will, most likely, find it to be invalid, |
1720 | * and will return the length of its valid part, skipping the keyword. | 1724 | * and will return the length of its valid part, skipping the keyword. |
1721 | * If it does - fix the extractor, not this check! | 1725 | * If it does - fix the extractor, not this check! |
1722 | */ | 1726 | */if (u8_strcount ((const uint8_t *) data) <= 2) |
1723 | if (u8_strcount ((const uint8_t *) data) <= 2) | ||
1724 | return 0; | 1727 | return 0; |
1725 | if ((EXTRACTOR_METATYPE_MIMETYPE == type) && | 1728 | if ((EXTRACTOR_METATYPE_MIMETYPE == type) && |
1726 | (NULL != (sep = memchr (data, '/', data_len))) && (sep != data)) | 1729 | (NULL != (sep = memchr (data, '/', data_len))) && (sep != data)) |
@@ -2049,4 +2052,5 @@ GNUNET_FS_uri_to_string (const struct GNUNET_FS_Uri *uri) | |||
2049 | } | 2052 | } |
2050 | } | 2053 | } |
2051 | 2054 | ||
2055 | |||
2052 | /* end of fs_uri.c */ | 2056 | /* end of fs_uri.c */ |
diff --git a/src/fs/gnunet-auto-share.c b/src/fs/gnunet-auto-share.c index dc1912f09..53c64ab04 100644 --- a/src/fs/gnunet-auto-share.c +++ b/src/fs/gnunet-auto-share.c | |||
@@ -779,4 +779,5 @@ main (int argc, char *const *argv) | |||
779 | return ok; | 779 | return ok; |
780 | } | 780 | } |
781 | 781 | ||
782 | |||
782 | /* end of gnunet-auto-share.c */ | 783 | /* end of gnunet-auto-share.c */ |
diff --git a/src/fs/gnunet-daemon-fsprofiler.c b/src/fs/gnunet-daemon-fsprofiler.c index 0fe26fe8b..829906461 100644 --- a/src/fs/gnunet-daemon-fsprofiler.c +++ b/src/fs/gnunet-daemon-fsprofiler.c | |||
@@ -668,4 +668,5 @@ main (int argc, char *const *argv) | |||
668 | options, &run, NULL)) ? global_ret : 1; | 668 | options, &run, NULL)) ? global_ret : 1; |
669 | } | 669 | } |
670 | 670 | ||
671 | |||
671 | /* end of gnunet-daemon-fsprofiler.c */ | 672 | /* end of gnunet-daemon-fsprofiler.c */ |
diff --git a/src/fs/gnunet-directory.c b/src/fs/gnunet-directory.c index 8819d1777..58950bceb 100644 --- a/src/fs/gnunet-directory.c +++ b/src/fs/gnunet-directory.c | |||
@@ -174,6 +174,7 @@ run (void *cls, | |||
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | |||
177 | /** | 178 | /** |
178 | * The main function to inspect GNUnet directories. | 179 | * The main function to inspect GNUnet directories. |
179 | * | 180 | * |
@@ -206,4 +207,5 @@ main (int argc, char *const *argv) | |||
206 | return ret; | 207 | return ret; |
207 | } | 208 | } |
208 | 209 | ||
210 | |||
209 | /* end of gnunet-directory.c */ | 211 | /* end of gnunet-directory.c */ |
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c index 05e102eac..63bb02958 100644 --- a/src/fs/gnunet-download.c +++ b/src/fs/gnunet-download.c | |||
@@ -380,4 +380,5 @@ main (int argc, char *const *argv) | |||
380 | return ret; | 380 | return ret; |
381 | } | 381 | } |
382 | 382 | ||
383 | |||
383 | /* end of gnunet-download.c */ | 384 | /* end of gnunet-download.c */ |
diff --git a/src/fs/gnunet-fs-profiler.c b/src/fs/gnunet-fs-profiler.c index a6e248213..6aad92055 100644 --- a/src/fs/gnunet-fs-profiler.c +++ b/src/fs/gnunet-fs-profiler.c | |||
@@ -241,4 +241,5 @@ main (int argc, char *const *argv) | |||
241 | return ret; | 241 | return ret; |
242 | } | 242 | } |
243 | 243 | ||
244 | |||
244 | /* end of gnunet-fs-profiler.c */ | 245 | /* end of gnunet-fs-profiler.c */ |
diff --git a/src/fs/gnunet-fs.c b/src/fs/gnunet-fs.c index a44fcdf7a..35d410d37 100644 --- a/src/fs/gnunet-fs.c +++ b/src/fs/gnunet-fs.c | |||
@@ -110,6 +110,7 @@ run (void *cls, | |||
110 | } | 110 | } |
111 | } | 111 | } |
112 | 112 | ||
113 | |||
113 | /** | 114 | /** |
114 | * The main function to access special file-sharing functions. | 115 | * The main function to access special file-sharing functions. |
115 | * | 116 | * |
@@ -147,4 +148,5 @@ main (int argc, char *const *argv) | |||
147 | return ret; | 148 | return ret; |
148 | } | 149 | } |
149 | 150 | ||
151 | |||
150 | /* end of gnunet-fs.c */ | 152 | /* end of gnunet-fs.c */ |
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index fb5f7497d..5d2d1229b 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c | |||
@@ -149,6 +149,8 @@ add_to_md (void *cls, | |||
149 | } | 149 | } |
150 | return 0; | 150 | return 0; |
151 | } | 151 | } |
152 | |||
153 | |||
152 | #endif | 154 | #endif |
153 | 155 | ||
154 | 156 | ||
@@ -572,4 +574,5 @@ main (int argc, char *const *argv) | |||
572 | return 0; | 574 | return 0; |
573 | } | 575 | } |
574 | 576 | ||
577 | |||
575 | /* end of gnunet-helper-fs-publish.c */ | 578 | /* end of gnunet-helper-fs-publish.c */ |
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index ff56dac8c..ac310b785 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -996,4 +996,5 @@ main (int argc, char *const *argv) | |||
996 | return ret; | 996 | return ret; |
997 | } | 997 | } |
998 | 998 | ||
999 | |||
999 | /* end of gnunet-publish.c */ | 1000 | /* end of gnunet-publish.c */ |
diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c index f11335985..e0b9a31fd 100644 --- a/src/fs/gnunet-search.c +++ b/src/fs/gnunet-search.c | |||
@@ -375,4 +375,5 @@ main (int argc, char *const *argv) | |||
375 | return ret; | 375 | return ret; |
376 | } | 376 | } |
377 | 377 | ||
378 | |||
378 | /* end of gnunet-search.c */ | 379 | /* end of gnunet-search.c */ |
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 40b3f6c1d..29e6de9d5 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -68,7 +68,6 @@ | |||
68 | #define INSANE_STATISTICS GNUNET_NO | 68 | #define INSANE_STATISTICS GNUNET_NO |
69 | 69 | ||
70 | 70 | ||
71 | |||
72 | /** | 71 | /** |
73 | * Doubly-linked list of requests we are performing | 72 | * Doubly-linked list of requests we are performing |
74 | * on behalf of the same client. | 73 | * on behalf of the same client. |
@@ -504,9 +503,6 @@ client_disconnect_cb (void *cls, | |||
504 | } | 503 | } |
505 | 504 | ||
506 | 505 | ||
507 | |||
508 | |||
509 | |||
510 | /** | 506 | /** |
511 | * Task that periodically ages our cover traffic statistics. | 507 | * Task that periodically ages our cover traffic statistics. |
512 | * | 508 | * |
diff --git a/src/fs/gnunet-service-fs_cadet_server.c b/src/fs/gnunet-service-fs_cadet_server.c index 34e4e6f58..395842ebb 100644 --- a/src/fs/gnunet-service-fs_cadet_server.c +++ b/src/fs/gnunet-service-fs_cadet_server.c | |||
@@ -143,7 +143,6 @@ static unsigned int sc_count; | |||
143 | static unsigned long long sc_count_max; | 143 | static unsigned long long sc_count_max; |
144 | 144 | ||
145 | 145 | ||
146 | |||
147 | /** | 146 | /** |
148 | * Task run to asynchronously terminate the cadet due to timeout. | 147 | * Task run to asynchronously terminate the cadet due to timeout. |
149 | * | 148 | * |
@@ -248,8 +247,7 @@ handle_datastore_reply (void *cls, | |||
248 | answers should be queried; OTOH, this is not a | 247 | answers should be queried; OTOH, this is not a |
249 | hard error as we might have had the answer in the | 248 | hard error as we might have had the answer in the |
250 | past and the user might have unindexed it. Hence | 249 | past and the user might have unindexed it. Hence |
251 | we log at level "INFO" for now. */ | 250 | we log at level "INFO" for now. */if (NULL == key) |
252 | if (NULL == key) | ||
253 | { | 251 | { |
254 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 252 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
255 | "Have no answer and the query was NULL\n"); | 253 | "Have no answer and the query was NULL\n"); |
@@ -544,4 +542,5 @@ GSF_cadet_stop_server () | |||
544 | GNUNET_assert (0 == sc_count); | 542 | GNUNET_assert (0 == sc_count); |
545 | } | 543 | } |
546 | 544 | ||
545 | |||
547 | /* end of gnunet-service-fs_cadet.c */ | 546 | /* end of gnunet-service-fs_cadet.c */ |
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h index c17b6a0a8..54f952778 100644 --- a/src/fs/gnunet-service-fs_cp.h +++ b/src/fs/gnunet-service-fs_cp.h | |||
@@ -387,7 +387,6 @@ const struct GNUNET_PeerIdentity * | |||
387 | GSF_connected_peer_get_identity2_ (const struct GSF_ConnectedPeer *cp); | 387 | GSF_connected_peer_get_identity2_ (const struct GSF_ConnectedPeer *cp); |
388 | 388 | ||
389 | 389 | ||
390 | |||
391 | /** | 390 | /** |
392 | * Iterate over all connected peers. | 391 | * Iterate over all connected peers. |
393 | * | 392 | * |
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index 4a7172c50..98fca3ec5 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -515,4 +515,5 @@ GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, | |||
515 | return GNUNET_OK; | 515 | return GNUNET_OK; |
516 | } | 516 | } |
517 | 517 | ||
518 | |||
518 | /* end of gnunet-service-fs_indexing.c */ | 519 | /* end of gnunet-service-fs_indexing.c */ |
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index 7933b2dee..bb4b07c02 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c | |||
@@ -300,8 +300,7 @@ plan (struct PeerPlan *pp, | |||
300 | * which satisfies all of the rules above. | 300 | * which satisfies all of the rules above. |
301 | * | 301 | * |
302 | * Note: M_PI_4 = PI/4 = arctan(1) | 302 | * Note: M_PI_4 = PI/4 = arctan(1) |
303 | */ | 303 | */rp->priority = |
304 | rp->priority = | ||
305 | round ((GSF_current_priorities | 304 | round ((GSF_current_priorities |
306 | + 1.0) * atan (delay.rel_value_us / avg_delay)) / M_PI_4; | 305 | + 1.0) * atan (delay.rel_value_us / avg_delay)) / M_PI_4; |
307 | /* Note: usage of 'round' and 'atan' requires -lm */ | 306 | /* Note: usage of 'round' and 'atan' requires -lm */ |
@@ -812,5 +811,4 @@ GSF_plan_done () | |||
812 | } | 811 | } |
813 | 812 | ||
814 | 813 | ||
815 | |||
816 | /* end of gnunet-service-fs_pe.h */ | 814 | /* end of gnunet-service-fs_pe.h */ |
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index 9c558674b..71de5668b 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -424,6 +424,7 @@ GSF_pending_request_create_ (enum GSF_PendingRequestOptions options, | |||
424 | return pr; | 424 | return pr; |
425 | } | 425 | } |
426 | 426 | ||
427 | |||
427 | /** | 428 | /** |
428 | * Obtain the public data associated with a pending request | 429 | * Obtain the public data associated with a pending request |
429 | * | 430 | * |
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/fs/gnunet-service-fs_pr.h index f22f85ee0..e060e734e 100644 --- a/src/fs/gnunet-service-fs_pr.h +++ b/src/fs/gnunet-service-fs_pr.h | |||
@@ -404,7 +404,6 @@ GSF_pending_request_test_target_ (struct GSF_PendingRequest *pr, | |||
404 | const struct GNUNET_PeerIdentity *target); | 404 | const struct GNUNET_PeerIdentity *target); |
405 | 405 | ||
406 | 406 | ||
407 | |||
408 | /** | 407 | /** |
409 | * Setup the subsystem. | 408 | * Setup the subsystem. |
410 | */ | 409 | */ |
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index 02990a637..1825e8eb3 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -673,4 +673,5 @@ GSF_push_done_ () | |||
673 | GNUNET_assert (0 == mig_size); | 673 | GNUNET_assert (0 == mig_size); |
674 | } | 674 | } |
675 | 675 | ||
676 | |||
676 | /* end of gnunet-service-fs_push.c */ | 677 | /* end of gnunet-service-fs_push.c */ |
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c index 335496119..ddc15820a 100644 --- a/src/fs/gnunet-service-fs_put.c +++ b/src/fs/gnunet-service-fs_put.c | |||
@@ -292,4 +292,5 @@ GSF_put_done_ () | |||
292 | } | 292 | } |
293 | } | 293 | } |
294 | 294 | ||
295 | |||
295 | /* end of gnunet-service-fs_put.c */ | 296 | /* end of gnunet-service-fs_put.c */ |
diff --git a/src/fs/gnunet-unindex.c b/src/fs/gnunet-unindex.c index 88825fa60..bf32de812 100644 --- a/src/fs/gnunet-unindex.c +++ b/src/fs/gnunet-unindex.c | |||
@@ -60,6 +60,7 @@ shutdown_task (void *cls) | |||
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 | ||
63 | |||
63 | /** | 64 | /** |
64 | * Called by FS client to give information about the progress of an | 65 | * Called by FS client to give information about the progress of an |
65 | * operation. | 66 | * operation. |
@@ -200,4 +201,5 @@ main (int argc, char *const *argv) | |||
200 | return ret; | 201 | return ret; |
201 | } | 202 | } |
202 | 203 | ||
204 | |||
203 | /* end of gnunet-unindex.c */ | 205 | /* end of gnunet-unindex.c */ |
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/fs/perf_gnunet_service_fs_p2p.c index 39563dfa4..062f062b5 100644 --- a/src/fs/perf_gnunet_service_fs_p2p.c +++ b/src/fs/perf_gnunet_service_fs_p2p.c | |||
@@ -364,4 +364,5 @@ main (int argc, char *argv[]) | |||
364 | return ok; | 364 | return ok; |
365 | } | 365 | } |
366 | 366 | ||
367 | |||
367 | /* end of perf_gnunet_service_fs_p2p.c */ | 368 | /* end of perf_gnunet_service_fs_p2p.c */ |
diff --git a/src/fs/perf_gnunet_service_fs_p2p_respect.c b/src/fs/perf_gnunet_service_fs_p2p_respect.c index fc17235fa..b7fe61be7 100644 --- a/src/fs/perf_gnunet_service_fs_p2p_respect.c +++ b/src/fs/perf_gnunet_service_fs_p2p_respect.c | |||
@@ -198,7 +198,6 @@ get_done (void *cls, int success) | |||
198 | } | 198 | } |
199 | 199 | ||
200 | 200 | ||
201 | |||
202 | /** | 201 | /** |
203 | * Adapter function called to establish a connection to | 202 | * Adapter function called to establish a connection to |
204 | * statistics service. | 203 | * statistics service. |
@@ -476,4 +475,5 @@ main (int argc, char *argv[]) | |||
476 | return ok; | 475 | return ok; |
477 | } | 476 | } |
478 | 477 | ||
478 | |||
479 | /* end of perf_gnunet_service_fs_p2p_respect.c */ | 479 | /* end of perf_gnunet_service_fs_p2p_respect.c */ |
diff --git a/src/fs/plugin_block_fs.c b/src/fs/plugin_block_fs.c index e5ea91c98..02855f418 100644 --- a/src/fs/plugin_block_fs.c +++ b/src/fs/plugin_block_fs.c | |||
@@ -295,4 +295,5 @@ libgnunet_plugin_block_fs_done (void *cls) | |||
295 | return NULL; | 295 | return NULL; |
296 | } | 296 | } |
297 | 297 | ||
298 | |||
298 | /* end of plugin_block_fs.c */ | 299 | /* end of plugin_block_fs.c */ |
diff --git a/src/fs/test_fs.c b/src/fs/test_fs.c index 73de7b204..7a57e98b0 100644 --- a/src/fs/test_fs.c +++ b/src/fs/test_fs.c | |||
@@ -47,6 +47,7 @@ makeName (unsigned int i) | |||
47 | return fn; | 47 | return fn; |
48 | } | 48 | } |
49 | 49 | ||
50 | |||
50 | static enum GNUNET_FSUI_EventType lastEvent; | 51 | static enum GNUNET_FSUI_EventType lastEvent; |
51 | 52 | ||
52 | static struct GNUNET_MetaData *search_meta; | 53 | static struct GNUNET_MetaData *search_meta; |
@@ -101,6 +102,7 @@ eventCallback (void *cls, const GNUNET_FSUI_Event *event) | |||
101 | return NULL; | 102 | return NULL; |
102 | } | 103 | } |
103 | 104 | ||
105 | |||
104 | #define START_DAEMON 1 | 106 | #define START_DAEMON 1 |
105 | 107 | ||
106 | int | 108 | int |
@@ -256,4 +258,5 @@ FAILURE: | |||
256 | return (ok == GNUNET_YES) ? 0 : 1; | 258 | return (ok == GNUNET_YES) ? 0 : 1; |
257 | } | 259 | } |
258 | 260 | ||
261 | |||
259 | /* end of test_fs.c */ | 262 | /* end of test_fs.c */ |
diff --git a/src/fs/test_fs_directory.c b/src/fs/test_fs_directory.c index 37d74613a..1b109c4d4 100644 --- a/src/fs/test_fs_directory.c +++ b/src/fs/test_fs_directory.c | |||
@@ -63,6 +63,7 @@ processor (void *cls, const char *filename, const struct GNUNET_FS_Uri *uri, | |||
63 | fprintf (stderr, "Error at %s:%d\n", __FILE__, __LINE__); | 63 | fprintf (stderr, "Error at %s:%d\n", __FILE__, __LINE__); |
64 | } | 64 | } |
65 | 65 | ||
66 | |||
66 | static int | 67 | static int |
67 | testDirectory (unsigned int i) | 68 | testDirectory (unsigned int i) |
68 | { | 69 | { |
@@ -181,4 +182,5 @@ main (int argc, char *argv[]) | |||
181 | return 0; | 182 | return 0; |
182 | } | 183 | } |
183 | 184 | ||
185 | |||
184 | /* end of test_fs_directory.c */ | 186 | /* end of test_fs_directory.c */ |
diff --git a/src/fs/test_fs_download.c b/src/fs/test_fs_download.c index 422c41523..2be2e7f6a 100644 --- a/src/fs/test_fs_download.c +++ b/src/fs/test_fs_download.c | |||
@@ -361,4 +361,5 @@ main (int argc, char *argv[]) | |||
361 | return err; | 361 | return err; |
362 | } | 362 | } |
363 | 363 | ||
364 | |||
364 | /* end of test_fs_download.c */ | 365 | /* end of test_fs_download.c */ |
diff --git a/src/fs/test_fs_download_persistence.c b/src/fs/test_fs_download_persistence.c index 7b7a886eb..35d4ed441 100644 --- a/src/fs/test_fs_download_persistence.c +++ b/src/fs/test_fs_download_persistence.c | |||
@@ -347,4 +347,5 @@ main (int argc, char *argv[]) | |||
347 | return err; | 347 | return err; |
348 | } | 348 | } |
349 | 349 | ||
350 | |||
350 | /* end of test_fs_download_persistence.c */ | 351 | /* end of test_fs_download_persistence.c */ |
diff --git a/src/fs/test_fs_file_information.c b/src/fs/test_fs_file_information.c index 3f6f2d5a8..391b667cb 100644 --- a/src/fs/test_fs_file_information.c +++ b/src/fs/test_fs_file_information.c | |||
@@ -157,4 +157,5 @@ main (int argc, char *argv[]) | |||
157 | return 0; | 157 | return 0; |
158 | } | 158 | } |
159 | 159 | ||
160 | |||
160 | /* end of test_fs_file_information.c */ | 161 | /* end of test_fs_file_information.c */ |
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index 431d42b2e..93367883f 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c | |||
@@ -259,4 +259,5 @@ main (int argc, char *argv[]) | |||
259 | return 0; | 259 | return 0; |
260 | } | 260 | } |
261 | 261 | ||
262 | |||
262 | /* end of test_fs_list_indexed.c */ | 263 | /* end of test_fs_list_indexed.c */ |
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c index 40eaa09e3..c42e546e3 100644 --- a/src/fs/test_fs_publish.c +++ b/src/fs/test_fs_publish.c | |||
@@ -245,4 +245,5 @@ main (int argc, char *argv[]) | |||
245 | return err; | 245 | return err; |
246 | } | 246 | } |
247 | 247 | ||
248 | |||
248 | /* end of test_fs_publish.c */ | 249 | /* end of test_fs_publish.c */ |
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c index 4247f78dd..4ec39d06e 100644 --- a/src/fs/test_fs_publish_persistence.c +++ b/src/fs/test_fs_publish_persistence.c | |||
@@ -316,4 +316,5 @@ main (int argc, char *argv[]) | |||
316 | return err; | 316 | return err; |
317 | } | 317 | } |
318 | 318 | ||
319 | |||
319 | /* end of test_fs_publish_persistence.c */ | 320 | /* end of test_fs_publish_persistence.c */ |
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c index 16f8ecbda..b392cc8ac 100644 --- a/src/fs/test_fs_search.c +++ b/src/fs/test_fs_search.c | |||
@@ -248,4 +248,5 @@ main (int argc, char *argv[]) | |||
248 | return err; | 248 | return err; |
249 | } | 249 | } |
250 | 250 | ||
251 | |||
251 | /* end of test_fs_search.c */ | 252 | /* end of test_fs_search.c */ |
diff --git a/src/fs/test_fs_search_persistence.c b/src/fs/test_fs_search_persistence.c index 40671823d..d523a6404 100644 --- a/src/fs/test_fs_search_persistence.c +++ b/src/fs/test_fs_search_persistence.c | |||
@@ -314,4 +314,5 @@ main (int argc, char *argv[]) | |||
314 | return err; | 314 | return err; |
315 | } | 315 | } |
316 | 316 | ||
317 | |||
317 | /* end of test_fs_search_persistence.c */ | 318 | /* end of test_fs_search_persistence.c */ |
diff --git a/src/fs/test_fs_search_probes.c b/src/fs/test_fs_search_probes.c index 2e2dc6005..b3c717aa1 100644 --- a/src/fs/test_fs_search_probes.c +++ b/src/fs/test_fs_search_probes.c | |||
@@ -254,4 +254,5 @@ main (int argc, char *argv[]) | |||
254 | return err; | 254 | return err; |
255 | } | 255 | } |
256 | 256 | ||
257 | |||
257 | /* end of test_fs_search_probes.c */ | 258 | /* end of test_fs_search_probes.c */ |
diff --git a/src/fs/test_fs_search_with_and.c b/src/fs/test_fs_search_with_and.c index 60ceb94ee..2187f4531 100644 --- a/src/fs/test_fs_search_with_and.c +++ b/src/fs/test_fs_search_with_and.c | |||
@@ -268,4 +268,5 @@ main (int argc, char *argv[]) | |||
268 | return err; | 268 | return err; |
269 | } | 269 | } |
270 | 270 | ||
271 | |||
271 | /* end of test_fs_search.c */ | 272 | /* end of test_fs_search.c */ |
diff --git a/src/fs/test_fs_start_stop.c b/src/fs/test_fs_start_stop.c index 1d6e27d62..509fbe76a 100644 --- a/src/fs/test_fs_start_stop.c +++ b/src/fs/test_fs_start_stop.c | |||
@@ -60,4 +60,5 @@ main (int argc, char *argv[]) | |||
60 | return 0; | 60 | return 0; |
61 | } | 61 | } |
62 | 62 | ||
63 | |||
63 | /* end of test_fs_start_stop.c */ | 64 | /* end of test_fs_start_stop.c */ |
diff --git a/src/fs/test_fs_test_lib.c b/src/fs/test_fs_test_lib.c index 25b843e85..7f0077bdd 100644 --- a/src/fs/test_fs_test_lib.c +++ b/src/fs/test_fs_test_lib.c | |||
@@ -175,4 +175,5 @@ main (int argc, char *argv[]) | |||
175 | return ret; | 175 | return ret; |
176 | } | 176 | } |
177 | 177 | ||
178 | |||
178 | /* end of test_fs_test_lib.c */ | 179 | /* end of test_fs_test_lib.c */ |
diff --git a/src/fs/test_fs_unindex.c b/src/fs/test_fs_unindex.c index 19b935dbf..a11c574c1 100644 --- a/src/fs/test_fs_unindex.c +++ b/src/fs/test_fs_unindex.c | |||
@@ -232,4 +232,5 @@ main (int argc, char *argv[]) | |||
232 | return 0; | 232 | return 0; |
233 | } | 233 | } |
234 | 234 | ||
235 | |||
235 | /* end of test_fs_unindex.c */ | 236 | /* end of test_fs_unindex.c */ |
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/fs/test_fs_unindex_persistence.c index 28079b842..c3668f4e0 100644 --- a/src/fs/test_fs_unindex_persistence.c +++ b/src/fs/test_fs_unindex_persistence.c | |||
@@ -302,4 +302,5 @@ main (int argc, char *argv[]) | |||
302 | return 0; | 302 | return 0; |
303 | } | 303 | } |
304 | 304 | ||
305 | |||
305 | /* end of test_fs_unindex_persistence.c */ | 306 | /* end of test_fs_unindex_persistence.c */ |
diff --git a/src/fs/test_fs_uri.c b/src/fs/test_fs_uri.c index 0602d8318..2a324af9a 100644 --- a/src/fs/test_fs_uri.c +++ b/src/fs/test_fs_uri.c | |||
@@ -333,4 +333,5 @@ main (int argc, char *argv[]) | |||
333 | return 0; | 333 | return 0; |
334 | } | 334 | } |
335 | 335 | ||
336 | |||
336 | /* end of test_fs_uri.c */ | 337 | /* end of test_fs_uri.c */ |
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 9842f8a83..d4a1c38b5 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -217,4 +217,5 @@ main (int argc, | |||
217 | return ok; | 217 | return ok; |
218 | } | 218 | } |
219 | 219 | ||
220 | |||
220 | /* end of test_gnunet_service_fs_migration.c */ | 221 | /* end of test_gnunet_service_fs_migration.c */ |
diff --git a/src/fs/test_gnunet_service_fs_p2p.c b/src/fs/test_gnunet_service_fs_p2p.c index 8d2ed144f..bedcb7173 100644 --- a/src/fs/test_gnunet_service_fs_p2p.c +++ b/src/fs/test_gnunet_service_fs_p2p.c | |||
@@ -162,4 +162,5 @@ main (int argc, char *argv[]) | |||
162 | return ok; | 162 | return ok; |
163 | } | 163 | } |
164 | 164 | ||
165 | |||
165 | /* end of test_gnunet_service_fs_p2p.c */ | 166 | /* end of test_gnunet_service_fs_p2p.c */ |
diff --git a/src/fs/test_plugin_block_fs.c b/src/fs/test_plugin_block_fs.c index 305da2f18..4f71c5d74 100644 --- a/src/fs/test_plugin_block_fs.c +++ b/src/fs/test_plugin_block_fs.c | |||
@@ -88,4 +88,5 @@ main (int argc, char *argv[]) | |||
88 | return ret; | 88 | return ret; |
89 | } | 89 | } |
90 | 90 | ||
91 | |||
91 | /* end of test_plugin_block_fs.c */ | 92 | /* end of test_plugin_block_fs.c */ |