diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-12 19:28:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-12 19:28:20 +0000 |
commit | 0e2f8eb4285e086281700b53893b1905a52ebc2e (patch) | |
tree | 5bb5b515821e4849b30c91a39f764900e9c35e6f /src/include/gnunet_namestore_service.h | |
parent | 5e05019536c0d38bf20f965613636f21ae7c2be6 (diff) | |
download | gnunet-0e2f8eb4285e086281700b53893b1905a52ebc2e.tar.gz gnunet-0e2f8eb4285e086281700b53893b1905a52ebc2e.zip |
-more work on new namestore API
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index db7453063..a1753df59 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -691,6 +691,18 @@ GNUNET_NAMESTORE_records_cmp (const struct GNUNET_NAMESTORE_RecordData *a, | |||
691 | const struct GNUNET_NAMESTORE_RecordData *b); | 691 | const struct GNUNET_NAMESTORE_RecordData *b); |
692 | 692 | ||
693 | 693 | ||
694 | /** | ||
695 | * Returns the expiration time of the given block of records. The block | ||
696 | * expiration time is the expiration time of the block with smallest | ||
697 | * expiration time. | ||
698 | * | ||
699 | * @param rd_count number of records given in 'rd' | ||
700 | * @param rd array of records | ||
701 | * @return absolute expiration time | ||
702 | */ | ||
703 | struct GNUNET_TIME_Absolute | ||
704 | GNUNET_NAMESTORE_record_get_expiration_time (unsigned int rd_count, | ||
705 | const struct GNUNET_NAMESTORE_RecordData *rd); | ||
694 | 706 | ||
695 | 707 | ||
696 | #if 0 /* keep Emacsens' auto-indent happy */ | 708 | #if 0 /* keep Emacsens' auto-indent happy */ |