diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-07 12:45:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-07 12:45:04 +0000 |
commit | ab3c2a6c36e4f0f78ccd082b731262d637d819d3 (patch) | |
tree | c7cede937bba981ae118ba4112be5d05ec5a7a73 /src/include/gnunet_namestore_service.h | |
parent | cf9c46282c0a339cb08c145340f22f31be6519da (diff) | |
download | gnunet-ab3c2a6c36e4f0f78ccd082b731262d637d819d3.tar.gz gnunet-ab3c2a6c36e4f0f78ccd082b731262d637d819d3.zip |
namestore api change: include block expiration time in record create
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index f2f314bfc..497d57136 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -227,6 +227,7 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary | |||
227 | * | 227 | * |
228 | * @param h handle to the namestore | 228 | * @param h handle to the namestore |
229 | * @param pkey private key of the zone | 229 | * @param pkey private key of the zone |
230 | * @param expire block expiration time | ||
230 | * @param name name that is being mapped (at most 255 characters long) | 231 | * @param name name that is being mapped (at most 255 characters long) |
231 | * @param rd record data to store | 232 | * @param rd record data to store |
232 | * @param cont continuation to call when done | 233 | * @param cont continuation to call when done |
@@ -235,11 +236,12 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary | |||
235 | */ | 236 | */ |
236 | struct GNUNET_NAMESTORE_QueueEntry * | 237 | struct GNUNET_NAMESTORE_QueueEntry * |
237 | GNUNET_NAMESTORE_record_create (struct GNUNET_NAMESTORE_Handle *h, | 238 | GNUNET_NAMESTORE_record_create (struct GNUNET_NAMESTORE_Handle *h, |
238 | const struct GNUNET_CRYPTO_RsaPrivateKey *pkey, | 239 | const struct GNUNET_CRYPTO_RsaPrivateKey *pkey, |
239 | const char *name, | 240 | const struct GNUNET_TIME_Absolute expire, |
240 | const struct GNUNET_NAMESTORE_RecordData *rd, | 241 | const char *name, |
241 | GNUNET_NAMESTORE_ContinuationWithStatus cont, | 242 | const struct GNUNET_NAMESTORE_RecordData *rd, |
242 | void *cont_cls); | 243 | GNUNET_NAMESTORE_ContinuationWithStatus cont, |
244 | void *cont_cls); | ||
243 | 245 | ||
244 | 246 | ||
245 | /** | 247 | /** |