diff options
author | Gabor X Toth <*@tg-x.net> | 2013-08-15 12:17:29 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-08-15 12:17:29 +0000 |
commit | 17b458881260c7e80d4b5269c0ea816cfcb32407 (patch) | |
tree | d9935a27423c367d3b2039d34bf910fcc7482225 /src/include/gnunet_social_service.h | |
parent | bafde9ae1a2331ae2f76881e853488ddb909ec50 (diff) | |
download | gnunet-17b458881260c7e80d4b5269c0ea816cfcb32407.tar.gz gnunet-17b458881260c7e80d4b5269c0ea816cfcb32407.zip |
social: home_advertise() - added arg to specify peers for the entry
Diffstat (limited to 'src/include/gnunet_social_service.h')
-rw-r--r-- | src/include/gnunet_social_service.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h index c8c83c24e..428f2f081 100644 --- a/src/include/gnunet_social_service.h +++ b/src/include/gnunet_social_service.h | |||
@@ -294,12 +294,17 @@ GNUNET_SOCIAL_home_get_key (struct GNUNET_SOCIAL_Home *home, | |||
294 | * Advertise @a home under @a name in the GADS zone of the @e ego. | 294 | * Advertise @a home under @a name in the GADS zone of the @e ego. |
295 | * | 295 | * |
296 | * @param home The home to advertise. | 296 | * @param home The home to advertise. |
297 | * @param name The name to put in the zone. | 297 | * @param name The name for the PLACE record to put in the zone. |
298 | * @param peer_count Number of elements in the @a peers array. | ||
299 | * @param peers List of peers in the PLACE record that can be used to send join | ||
300 | * requests to. | ||
298 | * @param expiration_time Expiration time of the record, use 0 to remove the record. | 301 | * @param expiration_time Expiration time of the record, use 0 to remove the record. |
299 | */ | 302 | */ |
300 | void | 303 | void |
301 | GNUNET_SOCIAL_home_advertise (struct GNUNET_SOCIAL_Home *home, | 304 | GNUNET_SOCIAL_home_advertise (struct GNUNET_SOCIAL_Home *home, |
302 | const char *name, | 305 | const char *name, |
306 | size_t peer_count, | ||
307 | const struct GNUNET_PeerIdentity *peers, | ||
303 | GNUNET_TIME_Relative expiration_time); | 308 | GNUNET_TIME_Relative expiration_time); |
304 | 309 | ||
305 | 310 | ||