diff options
author | Julius Bünger <buenger@mytum.de> | 2015-01-18 05:06:13 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-01-18 05:06:13 +0000 |
commit | d9e72f536edc429a375957bcbcc9cc9603ce965b (patch) | |
tree | 00f6af64d7fd94f57c24105e5f210bd81be22ed5 /src/rps/gnunet-service-rps_sampler.h | |
parent | e993426d1447a693c96920beb5bb469f78f1fdae (diff) | |
download | gnunet-d9e72f536edc429a375957bcbcc9cc9603ce965b.tar.gz gnunet-d9e72f536edc429a375957bcbcc9cc9603ce965b.zip |
fixed integer sizes and _get_rand_peer()
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.h')
-rw-r--r-- | src/rps/gnunet-service-rps_sampler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.h b/src/rps/gnunet-service-rps_sampler.h index 41afe8da9..451d3cdb0 100644 --- a/src/rps/gnunet-service-rps_sampler.h +++ b/src/rps/gnunet-service-rps_sampler.h | |||
@@ -57,7 +57,7 @@ typedef void | |||
57 | */ | 57 | */ |
58 | typedef void | 58 | typedef void |
59 | (*RPS_sampler_n_rand_peers_ready_cb) (void *cls, | 59 | (*RPS_sampler_n_rand_peers_ready_cb) (void *cls, |
60 | struct GNUNET_PeerIdentity *ids, uint64_t num_peers); | 60 | struct GNUNET_PeerIdentity *ids, uint32_t num_peers); |
61 | 61 | ||
62 | 62 | ||
63 | /** | 63 | /** |
@@ -124,7 +124,7 @@ RPS_sampler_reinitialise_by_value (const struct GNUNET_PeerIdentity *id); | |||
124 | * Only used internally | 124 | * Only used internally |
125 | */ | 125 | */ |
126 | const struct GNUNET_PeerIdentity * | 126 | const struct GNUNET_PeerIdentity * |
127 | RPS_sampler_get_n_rand_peers_ (uint64_t n); | 127 | RPS_sampler_get_n_rand_peers_ (uint32_t n); |
128 | 128 | ||
129 | 129 | ||
130 | /** | 130 | /** |
@@ -140,7 +140,7 @@ RPS_sampler_get_n_rand_peers_ (uint64_t n); | |||
140 | */ | 140 | */ |
141 | void | 141 | void |
142 | RPS_sampler_get_n_rand_peers (RPS_sampler_n_rand_peers_ready_cb cb, | 142 | RPS_sampler_get_n_rand_peers (RPS_sampler_n_rand_peers_ready_cb cb, |
143 | void *cls, uint64_t num_peers); | 143 | void *cls, uint32_t num_peers); |
144 | 144 | ||
145 | 145 | ||
146 | /** | 146 | /** |
@@ -150,7 +150,7 @@ RPS_sampler_get_n_rand_peers (RPS_sampler_n_rand_peers_ready_cb cb, | |||
150 | * | 150 | * |
151 | * @return the number of occurrences of id. | 151 | * @return the number of occurrences of id. |
152 | */ | 152 | */ |
153 | uint64_t | 153 | uint32_t |
154 | RPS_sampler_count_id (const struct GNUNET_PeerIdentity *id); | 154 | RPS_sampler_count_id (const struct GNUNET_PeerIdentity *id); |
155 | 155 | ||
156 | 156 | ||