aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/gnunet-service-dht.h')
-rw-r--r--src/dht/gnunet-service-dht.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/src/dht/gnunet-service-dht.h b/src/dht/gnunet-service-dht.h
index 8b41c648c..caf9dcbe8 100644
--- a/src/dht/gnunet-service-dht.h
+++ b/src/dht/gnunet-service-dht.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 dht/gnunet-service-dht.h 22 * @file dht/gnunet-service-dht.h
@@ -76,15 +76,15 @@ extern struct GNUNET_MessageHeader *GDS_my_hello;
76 * @param data application payload data 76 * @param data application payload data
77 */ 77 */
78void 78void
79GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration, 79GDS_CLIENTS_handle_reply(struct GNUNET_TIME_Absolute expiration,
80 const struct GNUNET_HashCode *key, 80 const struct GNUNET_HashCode *key,
81 unsigned int get_path_length, 81 unsigned int get_path_length,
82 const struct GNUNET_PeerIdentity *get_path, 82 const struct GNUNET_PeerIdentity *get_path,
83 unsigned int put_path_length, 83 unsigned int put_path_length,
84 const struct GNUNET_PeerIdentity *put_path, 84 const struct GNUNET_PeerIdentity *put_path,
85 enum GNUNET_BLOCK_Type type, 85 enum GNUNET_BLOCK_Type type,
86 size_t data_size, 86 size_t data_size,
87 const void *data); 87 const void *data);
88 88
89 89
90/** 90/**
@@ -100,13 +100,13 @@ GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration,
100 * @param key Key of the requested data. 100 * @param key Key of the requested data.
101 */ 101 */
102void 102void
103GDS_CLIENTS_process_get (uint32_t options, 103GDS_CLIENTS_process_get(uint32_t options,
104 enum GNUNET_BLOCK_Type type, 104 enum GNUNET_BLOCK_Type type,
105 uint32_t hop_count, 105 uint32_t hop_count,
106 uint32_t desired_replication_level, 106 uint32_t desired_replication_level,
107 unsigned int path_length, 107 unsigned int path_length,
108 const struct GNUNET_PeerIdentity *path, 108 const struct GNUNET_PeerIdentity *path,
109 const struct GNUNET_HashCode *key); 109 const struct GNUNET_HashCode *key);
110 110
111 111
112/** 112/**
@@ -124,15 +124,15 @@ GDS_CLIENTS_process_get (uint32_t options,
124 * @param size Number of bytes in @a data. 124 * @param size Number of bytes in @a data.
125 */ 125 */
126void 126void
127GDS_CLIENTS_process_get_resp (enum GNUNET_BLOCK_Type type, 127GDS_CLIENTS_process_get_resp(enum GNUNET_BLOCK_Type type,
128 const struct GNUNET_PeerIdentity *get_path, 128 const struct GNUNET_PeerIdentity *get_path,
129 unsigned int get_path_length, 129 unsigned int get_path_length,
130 const struct GNUNET_PeerIdentity *put_path, 130 const struct GNUNET_PeerIdentity *put_path,
131 unsigned int put_path_length, 131 unsigned int put_path_length,
132 struct GNUNET_TIME_Absolute exp, 132 struct GNUNET_TIME_Absolute exp,
133 const struct GNUNET_HashCode * key, 133 const struct GNUNET_HashCode * key,
134 const void *data, 134 const void *data,
135 size_t size); 135 size_t size);
136 136
137 137
138/** 138/**
@@ -151,15 +151,15 @@ GDS_CLIENTS_process_get_resp (enum GNUNET_BLOCK_Type type,
151 * @param size Number of bytes in data. 151 * @param size Number of bytes in data.
152 */ 152 */
153void 153void
154GDS_CLIENTS_process_put (uint32_t options, 154GDS_CLIENTS_process_put(uint32_t options,
155 enum GNUNET_BLOCK_Type type, 155 enum GNUNET_BLOCK_Type type,
156 uint32_t hop_count, 156 uint32_t hop_count,
157 uint32_t desired_replication_level, 157 uint32_t desired_replication_level,
158 unsigned int path_length, 158 unsigned int path_length,
159 const struct GNUNET_PeerIdentity *path, 159 const struct GNUNET_PeerIdentity *path,
160 struct GNUNET_TIME_Absolute exp, 160 struct GNUNET_TIME_Absolute exp,
161 const struct GNUNET_HashCode *key, 161 const struct GNUNET_HashCode *key,
162 const void *data, 162 const void *data,
163 size_t size); 163 size_t size);
164 164
165#endif 165#endif