From be31c5cb271233f82757b1830f07485f6293d3b4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 2 Jul 2012 13:25:03 +0000 Subject: [PATCH] -update docu --- src/include/gnunet_namestore_service.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index aa3ad8017..b00967c00 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h @@ -181,6 +181,10 @@ struct GNUNET_NAMESTORE_RecordData /** * Binary value stored in the DNS record. + * FIXME: goofy API: sometimes 'data' is individually + * 'malloc'ed, sometimes it points into some existing + * data area (so sometimes this should be a 'void *', + * sometimes a 'const void *'). This is unclean. */ const void *data; @@ -387,7 +391,10 @@ GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, * * By specifying a 'zone' of NULL and setting 'GNUNET_NAMESTORE_RF_AUTHORITY' * in 'must_have_flags', we can iterate over all records for which we are - * the authority. In this case, the 'GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION' + * the authority (the 'authority' flag will NOT be set in the returned + * records anyway). + * + * The 'GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION' * bit in 'must_have_flags' has a special meaning: * * 0) If the bit is clear, all relative expriation times are converted to -- 2.25.1