aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-service-fs_mesh.h')
-rw-r--r--src/fs/gnunet-service-fs_mesh.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_mesh.h b/src/fs/gnunet-service-fs_mesh.h
index 90cb8e5d8..452809889 100644
--- a/src/fs/gnunet-service-fs_mesh.h
+++ b/src/fs/gnunet-service-fs_mesh.h
@@ -27,13 +27,13 @@
27#define GNUNET_SERVICE_FS_MESH_H 27#define GNUNET_SERVICE_FS_MESH_H
28 28
29/** 29/**
30 * Handle for a request that is going out via stream API. 30 * Handle for a request that is going out via mesh API.
31 */ 31 */
32struct GSF_StreamRequest; 32struct GSF_StreamRequest;
33 33
34 34
35/** 35/**
36 * Function called with a reply from the stream. 36 * Function called with a reply from the mesh.
37 * 37 *
38 * @param cls closure 38 * @param cls closure
39 * @param type type of the block, ANY on error 39 * @param type type of the block, ANY on error
@@ -59,7 +59,7 @@ typedef void (*GSF_StreamReplyProcessor)(void *cls,
59 * @return handle to cancel the operation 59 * @return handle to cancel the operation
60 */ 60 */
61struct GSF_StreamRequest * 61struct GSF_StreamRequest *
62GSF_stream_query (const struct GNUNET_PeerIdentity *target, 62GSF_mesh_query (const struct GNUNET_PeerIdentity *target,
63 const struct GNUNET_HashCode *query, 63 const struct GNUNET_HashCode *query,
64 enum GNUNET_BLOCK_Type type, 64 enum GNUNET_BLOCK_Type type,
65 GSF_StreamReplyProcessor proc, void *proc_cls); 65 GSF_StreamReplyProcessor proc, void *proc_cls);
@@ -72,20 +72,20 @@ GSF_stream_query (const struct GNUNET_PeerIdentity *target,
72 * @param sr request to cancel 72 * @param sr request to cancel
73 */ 73 */
74void 74void
75GSF_stream_query_cancel (struct GSF_StreamRequest *sr); 75GSF_mesh_query_cancel (struct GSF_StreamRequest *sr);
76 76
77 77
78/** 78/**
79 * Initialize subsystem for non-anonymous file-sharing. 79 * Initialize subsystem for non-anonymous file-sharing.
80 */ 80 */
81void 81void
82GSF_stream_start (void); 82GSF_mesh_start (void);
83 83
84 84
85/** 85/**
86 * Shutdown subsystem for non-anonymous file-sharing. 86 * Shutdown subsystem for non-anonymous file-sharing.
87 */ 87 */
88void 88void
89GSF_stream_stop (void); 89GSF_mesh_stop (void);
90 90
91#endif 91#endif