aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_neighbours.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-27 08:58:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-27 08:58:06 +0000
commit4f3f80d05ac7101b8049c352d70abe97bc81ab23 (patch)
treec06793649eddaff22e7363bd97ea70ed2b069950 /src/dht/gnunet-service-dht_neighbours.h
parente83f3d39b93b4a1aa721c6de33a9c1f04c82896d (diff)
downloadgnunet-4f3f80d05ac7101b8049c352d70abe97bc81ab23.tar.gz
gnunet-4f3f80d05ac7101b8049c352d70abe97bc81ab23.zip
making some files compile
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.h')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.h b/src/dht/gnunet-service-dht_neighbours.h
index 70723deac..e679b4162 100644
--- a/src/dht/gnunet-service-dht_neighbours.h
+++ b/src/dht/gnunet-service-dht_neighbours.h
@@ -27,6 +27,9 @@
27#ifndef GNUNET_SERVICE_DHT_NEIGHBOURS_H 27#ifndef GNUNET_SERVICE_DHT_NEIGHBOURS_H
28#define GNUNET_SERVICE_DHT_NEIGHBOURS_H 28#define GNUNET_SERVICE_DHT_NEIGHBOURS_H
29 29
30#include "gnunet_util_lib.h"
31#include "gnunet_block_lib.h"
32#include "gnunet_dht_service.h"
30 33
31/** 34/**
32 * Perform a PUT operation. Forwards the given request to other 35 * Perform a PUT operation. Forwards the given request to other
@@ -51,7 +54,7 @@ void
51GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type, 54GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type,
52 enum GNUNET_DHT_RouteOption options, 55 enum GNUNET_DHT_RouteOption options,
53 uint32_t desired_replication_level, 56 uint32_t desired_replication_level,
54 GNUNET_TIME_Absolute expiration_time, 57 struct GNUNET_TIME_Absolute expiration_time,
55 uint32_t hop_count, 58 uint32_t hop_count,
56 struct GNUNET_CONTAINER_BloomFilter *bf, 59 struct GNUNET_CONTAINER_BloomFilter *bf,
57 const GNUNET_HashCode *key, 60 const GNUNET_HashCode *key,
@@ -108,9 +111,9 @@ GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type,
108 * @param data_size number of bytes in data 111 * @param data_size number of bytes in data
109 */ 112 */
110void 113void
111GDS_NEIGHBOURS_handle_reply (const GNUNET_PeerIdentity *target, 114GDS_NEIGHBOURS_handle_reply (const struct GNUNET_PeerIdentity *target,
112 enum GNUNET_BLOCK_Type type, 115 enum GNUNET_BLOCK_Type type,
113 GNUNET_TIME_Absolute expiration_time, 116 struct GNUNET_TIME_Absolute expiration_time,
114 const GNUNET_HashCode *key, 117 const GNUNET_HashCode *key,
115 unsigned int put_path_length, 118 unsigned int put_path_length,
116 struct GNUNET_PeerIdentity *put_path, 119 struct GNUNET_PeerIdentity *put_path,
@@ -122,10 +125,13 @@ GDS_NEIGHBOURS_handle_reply (const GNUNET_PeerIdentity *target,
122 125
123/** 126/**
124 * Initialize neighbours subsystem. 127 * Initialize neighbours subsystem.
128 *
129 * @return GNUNET_OK on success, GNUNET_SYSERR on error
125 */ 130 */
126void 131int
127GDS_NEIGHBOURS_init (void); 132GDS_NEIGHBOURS_init (void);
128 133
134
129/** 135/**
130 * Shutdown neighbours subsystem. 136 * Shutdown neighbours subsystem.
131 */ 137 */