diff options
author | Willow Liquorice <willow@howhill.com> | 2022-09-07 21:02:47 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 12:51:57 +0100 |
commit | 182a45fc9a4d7f127034b9dc4adae999c4c7e4ad (patch) | |
tree | 7fc85e878795e7506b9a06458ac22db9b2bd5fb6 /src/fs | |
parent | c77b7424ff5e8da878da3a55c6ce126c160d2d42 (diff) | |
download | gnunet-182a45fc9a4d7f127034b9dc4adae999c4c7e4ad.tar.gz gnunet-182a45fc9a4d7f127034b9dc4adae999c4c7e4ad.zip |
-DOC: Documentation cleanup pass through FS subsystem
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs_download.c | 1 | ||||
-rw-r--r-- | src/fs/fs_search.c | 4 | ||||
-rw-r--r-- | src/fs/fs_test_lib.c | 1 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs.c | 6 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs_cadet_server.c | 1 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 2 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs_push.c | 2 | ||||
-rw-r--r-- | src/fs/plugin_block_fs.c | 3 |
8 files changed, 7 insertions, 13 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 3f5ac6c64..102b297c1 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -1422,7 +1422,6 @@ try_reconnect (struct GNUNET_FS_DownloadContext *dc) | |||
1422 | * We're allowed to ask the FS service for our blocks. Start the download. | 1422 | * We're allowed to ask the FS service for our blocks. Start the download. |
1423 | * | 1423 | * |
1424 | * @param cls the 'struct GNUNET_FS_DownloadContext' | 1424 | * @param cls the 'struct GNUNET_FS_DownloadContext' |
1425 | * @param mq handle to use for communication with FS (we must destroy it!) | ||
1426 | */ | 1425 | */ |
1427 | static void | 1426 | static void |
1428 | activate_fs_download (void *cls) | 1427 | activate_fs_download (void *cls) |
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index 3f3d30146..5538b7838 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c | |||
@@ -927,7 +927,7 @@ try_reconnect (struct GNUNET_FS_SearchContext *sc); | |||
927 | * We check a result message from the service. | 927 | * We check a result message from the service. |
928 | * | 928 | * |
929 | * @param cls closure | 929 | * @param cls closure |
930 | * @param msg result message received | 930 | * @param cm result message received |
931 | */ | 931 | */ |
932 | static int | 932 | static int |
933 | check_result (void *cls, | 933 | check_result (void *cls, |
@@ -942,7 +942,7 @@ check_result (void *cls, | |||
942 | * We process a search result from the service. | 942 | * We process a search result from the service. |
943 | * | 943 | * |
944 | * @param cls closure | 944 | * @param cls closure |
945 | * @param msg result message received | 945 | * @param cm result message received |
946 | */ | 946 | */ |
947 | static void | 947 | static void |
948 | handle_result (void *cls, | 948 | handle_result (void *cls, |
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c index 94bf469f7..f80a2859c 100644 --- a/src/fs/fs_test_lib.c +++ b/src/fs/fs_test_lib.c | |||
@@ -177,7 +177,6 @@ struct TestDownloadOperation | |||
177 | * Task scheduled to report on the completion of our publish operation. | 177 | * Task scheduled to report on the completion of our publish operation. |
178 | * | 178 | * |
179 | * @param cls the publish operation context | 179 | * @param cls the publish operation context |
180 | * @param tc scheduler context (unused) | ||
181 | */ | 180 | */ |
182 | static void | 181 | static void |
183 | report_uri (void *cls) | 182 | report_uri (void *cls) |
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index c22a5b5a9..7da92ed44 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -603,7 +603,7 @@ update_latencies (void *cls, | |||
603 | * Check P2P "PUT" message. | 603 | * Check P2P "PUT" message. |
604 | * | 604 | * |
605 | * @param cls closure with the `struct GSF_ConnectedPeer` | 605 | * @param cls closure with the `struct GSF_ConnectedPeer` |
606 | * @param message the actual message | 606 | * @param put the actual message |
607 | * @return #GNUNET_OK to keep the connection open, | 607 | * @return #GNUNET_OK to keep the connection open, |
608 | * #GNUNET_SYSERR to close it (signal serious error) | 608 | * #GNUNET_SYSERR to close it (signal serious error) |
609 | */ | 609 | */ |
@@ -1063,7 +1063,7 @@ hash_for_index_val (void *cls, | |||
1063 | * Handle INDEX_START-message. | 1063 | * Handle INDEX_START-message. |
1064 | * | 1064 | * |
1065 | * @param cls identification of the client | 1065 | * @param cls identification of the client |
1066 | * @param message the actual message | 1066 | * @param ism the actual message |
1067 | */ | 1067 | */ |
1068 | static void | 1068 | static void |
1069 | handle_client_index_start (void *cls, | 1069 | handle_client_index_start (void *cls, |
@@ -1144,7 +1144,7 @@ handle_client_index_list_get (void *cls, | |||
1144 | * Handle UNINDEX-message. | 1144 | * Handle UNINDEX-message. |
1145 | * | 1145 | * |
1146 | * @param cls identification of the client | 1146 | * @param cls identification of the client |
1147 | * @param message the actual message | 1147 | * @param um the actual message |
1148 | */ | 1148 | */ |
1149 | static void | 1149 | static void |
1150 | handle_client_unindex (void *cls, | 1150 | handle_client_unindex (void *cls, |
diff --git a/src/fs/gnunet-service-fs_cadet_server.c b/src/fs/gnunet-service-fs_cadet_server.c index 395842ebb..8bfe91cf0 100644 --- a/src/fs/gnunet-service-fs_cadet_server.c +++ b/src/fs/gnunet-service-fs_cadet_server.c | |||
@@ -415,7 +415,6 @@ connect_cb (void *cls, | |||
415 | * | 415 | * |
416 | * @param cls our `struct CadetClient` | 416 | * @param cls our `struct CadetClient` |
417 | * @param channel channel of the disconnecting client | 417 | * @param channel channel of the disconnecting client |
418 | * @param channel_ctx | ||
419 | */ | 418 | */ |
420 | static void | 419 | static void |
421 | disconnect_cb (void *cls, | 420 | disconnect_cb (void *cls, |
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 96b21783c..29e4c5910 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -1342,8 +1342,6 @@ handle_p2p_get (void *cls, | |||
1342 | * @param cp target peer | 1342 | * @param cp target peer |
1343 | * @param is_query is this a query (#GNUNET_YES) or content (#GNUNET_NO) or neither (#GNUNET_SYSERR) | 1343 | * @param is_query is this a query (#GNUNET_YES) or content (#GNUNET_NO) or neither (#GNUNET_SYSERR) |
1344 | * @param priority how important is this request? | 1344 | * @param priority how important is this request? |
1345 | * @param timeout when does this request timeout | ||
1346 | * @param size number of bytes we would like to send to the peer | ||
1347 | * @param env message to send | 1345 | * @param env message to send |
1348 | */ | 1346 | */ |
1349 | void | 1347 | void |
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index 80c2c00e6..92dbba8e6 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -210,7 +210,7 @@ find_content (void *cls); | |||
210 | /** | 210 | /** |
211 | * Send the given block to the given peer. | 211 | * Send the given block to the given peer. |
212 | * | 212 | * |
213 | * @param peer target peer | 213 | * @param mrp target peer |
214 | * @param block the block | 214 | * @param block the block |
215 | * @return #GNUNET_YES if the block was deleted (!) | 215 | * @return #GNUNET_YES if the block was deleted (!) |
216 | */ | 216 | */ |
diff --git a/src/fs/plugin_block_fs.c b/src/fs/plugin_block_fs.c index 18aa289ef..11677a6b2 100644 --- a/src/fs/plugin_block_fs.c +++ b/src/fs/plugin_block_fs.c | |||
@@ -158,10 +158,9 @@ block_plugin_fs_get_key (void *cls, | |||
158 | * Function called to validate a query. | 158 | * Function called to validate a query. |
159 | * | 159 | * |
160 | * @param cls closure | 160 | * @param cls closure |
161 | * @param ctx block context | ||
162 | * @param type block type | 161 | * @param type block type |
163 | * @param query original query (hash) | 162 | * @param query original query (hash) |
164 | * @param xquery extrended query data (can be NULL, depending on type) | 163 | * @param xquery extended query data (can be NULL, depending on type) |
165 | * @param xquery_size number of bytes in @a xquery | 164 | * @param xquery_size number of bytes in @a xquery |
166 | * @return #GNUNET_OK if the query is fine, #GNUNET_NO if not | 165 | * @return #GNUNET_OK if the query is fine, #GNUNET_NO if not |
167 | */ | 166 | */ |