summaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_indexing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.h')
-rw-r--r--src/fs/gnunet-service-fs_indexing.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.h b/src/fs/gnunet-service-fs_indexing.h
index d6166f0a9..4c137d7a6 100644
--- a/src/fs/gnunet-service-fs_indexing.h
+++ b/src/fs/gnunet-service-fs_indexing.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file fs/gnunet-service-fs_indexing.h 22 * @file fs/gnunet-service-fs_indexing.h
@@ -56,17 +56,17 @@
56 * @return #GNUNET_OK on success 56 * @return #GNUNET_OK on success
57 */ 57 */
58int 58int
59GNUNET_FS_handle_on_demand_block (const struct GNUNET_HashCode *key, 59GNUNET_FS_handle_on_demand_block(const struct GNUNET_HashCode *key,
60 uint32_t size, 60 uint32_t size,
61 const void *data, 61 const void *data,
62 enum GNUNET_BLOCK_Type type, 62 enum GNUNET_BLOCK_Type type,
63 uint32_t priority, 63 uint32_t priority,
64 uint32_t anonymity, 64 uint32_t anonymity,
65 uint32_t replication, 65 uint32_t replication,
66 struct GNUNET_TIME_Absolute expiration, 66 struct GNUNET_TIME_Absolute expiration,
67 uint64_t uid, 67 uint64_t uid,
68 GNUNET_DATASTORE_DatumProcessor cont, 68 GNUNET_DATASTORE_DatumProcessor cont,
69 void *cont_cls); 69 void *cont_cls);
70 70
71 71
72/** 72/**
@@ -75,7 +75,7 @@ GNUNET_FS_handle_on_demand_block (const struct GNUNET_HashCode *key,
75 * @param mq message queue to send information to 75 * @param mq message queue to send information to
76 */ 76 */
77void 77void
78GNUNET_FS_indexing_send_list (struct GNUNET_MQ_Handle *mq); 78GNUNET_FS_indexing_send_list(struct GNUNET_MQ_Handle *mq);
79 79
80 80
81/** 81/**
@@ -85,7 +85,7 @@ GNUNET_FS_indexing_send_list (struct GNUNET_MQ_Handle *mq);
85 * @return #GNUNET_YES if the @a fid was found 85 * @return #GNUNET_YES if the @a fid was found
86 */ 86 */
87int 87int
88GNUNET_FS_indexing_do_unindex (const struct GNUNET_HashCode *fid); 88GNUNET_FS_indexing_do_unindex(const struct GNUNET_HashCode *fid);
89 89
90 90
91/** 91/**
@@ -95,8 +95,8 @@ GNUNET_FS_indexing_do_unindex (const struct GNUNET_HashCode *fid);
95 * @param file_id hash identifier for @a filename 95 * @param file_id hash identifier for @a filename
96 */ 96 */
97void 97void
98GNUNET_FS_add_to_index (const char *filename, 98GNUNET_FS_add_to_index(const char *filename,
99 const struct GNUNET_HashCode *file_id); 99 const struct GNUNET_HashCode *file_id);
100 100
101 101
102/** 102/**
@@ -107,15 +107,15 @@ GNUNET_FS_add_to_index (const char *filename,
107 * @return GNUNET_OK on success 107 * @return GNUNET_OK on success
108 */ 108 */
109int 109int
110GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, 110GNUNET_FS_indexing_init(const struct GNUNET_CONFIGURATION_Handle *c,
111 struct GNUNET_DATASTORE_Handle *d); 111 struct GNUNET_DATASTORE_Handle *d);
112 112
113 113
114/** 114/**
115 * Shutdown the module. 115 * Shutdown the module.
116 */ 116 */
117void 117void
118GNUNET_FS_indexing_done (void); 118GNUNET_FS_indexing_done(void);
119 119
120 120
121#endif 121#endif