diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-27 08:58:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-27 08:58:06 +0000 |
commit | 4f3f80d05ac7101b8049c352d70abe97bc81ab23 (patch) | |
tree | c06793649eddaff22e7363bd97ea70ed2b069950 /src/dht/gnunet-service-dht_routing.h | |
parent | e83f3d39b93b4a1aa721c6de33a9c1f04c82896d (diff) | |
download | gnunet-4f3f80d05ac7101b8049c352d70abe97bc81ab23.tar.gz gnunet-4f3f80d05ac7101b8049c352d70abe97bc81ab23.zip |
making some files compile
Diffstat (limited to 'src/dht/gnunet-service-dht_routing.h')
-rw-r--r-- | src/dht/gnunet-service-dht_routing.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht_routing.h b/src/dht/gnunet-service-dht_routing.h index 3dbae1ee7..6b2246f31 100644 --- a/src/dht/gnunet-service-dht_routing.h +++ b/src/dht/gnunet-service-dht_routing.h | |||
@@ -26,6 +26,9 @@ | |||
26 | #ifndef GNUNET_SERVICE_DHT_ROUTING_H | 26 | #ifndef GNUNET_SERVICE_DHT_ROUTING_H |
27 | #define GNUNET_SERVICE_DHT_ROUTING_H | 27 | #define GNUNET_SERVICE_DHT_ROUTING_H |
28 | 28 | ||
29 | #include "gnunet_util_lib.h" | ||
30 | #include "gnunet_block_lib.h" | ||
31 | |||
29 | 32 | ||
30 | /** | 33 | /** |
31 | * Handle a reply (route to origin). Only forwards the reply back to | 34 | * Handle a reply (route to origin). Only forwards the reply back to |
@@ -45,8 +48,8 @@ | |||
45 | * @param data_size number of bytes in data | 48 | * @param data_size number of bytes in data |
46 | */ | 49 | */ |
47 | void | 50 | void |
48 | GDS_ROUTING_process (uint32_t type, | 51 | GDS_ROUTING_process (enum GNUNET_BLOCK_Type type, |
49 | GNUNET_TIME_Absolute expiration_time, | 52 | struct GNUNET_TIME_Absolute expiration_time, |
50 | const GNUNET_HashCode *key, | 53 | const GNUNET_HashCode *key, |
51 | unsigned int put_path_length, | 54 | unsigned int put_path_length, |
52 | const struct GNUNET_PeerIdentity *put_path, | 55 | const struct GNUNET_PeerIdentity *put_path, |
@@ -68,8 +71,8 @@ GDS_ROUTING_process (uint32_t type, | |||
68 | * @param reply_bf_mutator mutator for reply_bf | 71 | * @param reply_bf_mutator mutator for reply_bf |
69 | */ | 72 | */ |
70 | void | 73 | void |
71 | GDS_ROUTING_add (const GNUNET_PeerIdentity *sender, | 74 | GDS_ROUTING_add (const struct GNUNET_PeerIdentity *sender, |
72 | uint32_t type, | 75 | enum GNUNET_BLOCK_Type type, |
73 | const GNUNET_HashCode *key, | 76 | const GNUNET_HashCode *key, |
74 | const void *xquery, | 77 | const void *xquery, |
75 | size_t xquery_size, | 78 | size_t xquery_size, |