aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cadet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-service-fs_cadet.h')
-rw-r--r--src/fs/gnunet-service-fs_cadet.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/fs/gnunet-service-fs_cadet.h b/src/fs/gnunet-service-fs_cadet.h
index 61bd8b314..b8c255047 100644
--- a/src/fs/gnunet-service-fs_cadet.h
+++ b/src/fs/gnunet-service-fs_cadet.h
@@ -60,11 +60,11 @@ typedef void
60 * @return handle to cancel the operation 60 * @return handle to cancel the operation
61 */ 61 */
62struct GSF_CadetRequest * 62struct GSF_CadetRequest *
63GSF_cadet_query(const struct GNUNET_PeerIdentity *target, 63GSF_cadet_query (const struct GNUNET_PeerIdentity *target,
64 const struct GNUNET_HashCode *query, 64 const struct GNUNET_HashCode *query,
65 enum GNUNET_BLOCK_Type type, 65 enum GNUNET_BLOCK_Type type,
66 GSF_CadetReplyProcessor proc, 66 GSF_CadetReplyProcessor proc,
67 void *proc_cls); 67 void *proc_cls);
68 68
69/** 69/**
70 * Function called on each active cadets to shut them down. 70 * Function called on each active cadets to shut them down.
@@ -75,9 +75,9 @@ GSF_cadet_query(const struct GNUNET_PeerIdentity *target,
75 * @return #GNUNET_YES (continue to iterate) 75 * @return #GNUNET_YES (continue to iterate)
76 */ 76 */
77int 77int
78GSF_cadet_release_clients(void *cls, 78GSF_cadet_release_clients (void *cls,
79 const struct GNUNET_PeerIdentity *key, 79 const struct GNUNET_PeerIdentity *key,
80 void *value); 80 void *value);
81 81
82 82
83/** 83/**
@@ -87,21 +87,21 @@ GSF_cadet_release_clients(void *cls,
87 * @param sr request to cancel 87 * @param sr request to cancel
88 */ 88 */
89void 89void
90GSF_cadet_query_cancel(struct GSF_CadetRequest *sr); 90GSF_cadet_query_cancel (struct GSF_CadetRequest *sr);
91 91
92 92
93/** 93/**
94 * Initialize subsystem for non-anonymous file-sharing. 94 * Initialize subsystem for non-anonymous file-sharing.
95 */ 95 */
96void 96void
97GSF_cadet_start_server(void); 97GSF_cadet_start_server (void);
98 98
99 99
100/** 100/**
101 * Shutdown subsystem for non-anonymous file-sharing. 101 * Shutdown subsystem for non-anonymous file-sharing.
102 */ 102 */
103void 103void
104GSF_cadet_stop_server(void); 104GSF_cadet_stop_server (void);
105 105
106/** 106/**
107 * Cadet channel for creating outbound channels. 107 * Cadet channel for creating outbound channels.
@@ -120,7 +120,8 @@ GNUNET_NETWORK_STRUCT_BEGIN
120/** 120/**
121 * Query from one peer, asking the other for CHK-data. 121 * Query from one peer, asking the other for CHK-data.
122 */ 122 */
123struct CadetQueryMessage { 123struct CadetQueryMessage
124{
124 /** 125 /**
125 * Type is GNUNET_MESSAGE_TYPE_FS_CADET_QUERY. 126 * Type is GNUNET_MESSAGE_TYPE_FS_CADET_QUERY.
126 */ 127 */
@@ -141,7 +142,8 @@ struct CadetQueryMessage {
141/** 142/**
142 * Reply to a CadetQueryMessage. 143 * Reply to a CadetQueryMessage.
143 */ 144 */
144struct CadetReplyMessage { 145struct CadetReplyMessage
146{
145 /** 147 /**
146 * Type is GNUNET_MESSAGE_TYPE_FS_CADET_REPLY. 148 * Type is GNUNET_MESSAGE_TYPE_FS_CADET_REPLY.
147 */ 149 */