diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-02 13:25:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-02 13:25:03 +0000 |
commit | be31c5cb271233f82757b1830f07485f6293d3b4 (patch) | |
tree | 2c4909fc5d33d1114c552941a4d699f799c5ec3f /src/include/gnunet_namestore_service.h | |
parent | 61f22a1a8493d71e0f5855a47669969cd1ff234a (diff) | |
download | gnunet-be31c5cb271233f82757b1830f07485f6293d3b4.tar.gz gnunet-be31c5cb271233f82757b1830f07485f6293d3b4.zip |
-update docu
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 | |||
181 | 181 | ||
182 | /** | 182 | /** |
183 | * Binary value stored in the DNS record. | 183 | * Binary value stored in the DNS record. |
184 | * FIXME: goofy API: sometimes 'data' is individually | ||
185 | * 'malloc'ed, sometimes it points into some existing | ||
186 | * data area (so sometimes this should be a 'void *', | ||
187 | * sometimes a 'const void *'). This is unclean. | ||
184 | */ | 188 | */ |
185 | const void *data; | 189 | const void *data; |
186 | 190 | ||
@@ -387,7 +391,10 @@ GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, | |||
387 | * | 391 | * |
388 | * By specifying a 'zone' of NULL and setting 'GNUNET_NAMESTORE_RF_AUTHORITY' | 392 | * By specifying a 'zone' of NULL and setting 'GNUNET_NAMESTORE_RF_AUTHORITY' |
389 | * in 'must_have_flags', we can iterate over all records for which we are | 393 | * in 'must_have_flags', we can iterate over all records for which we are |
390 | * the authority. In this case, the 'GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION' | 394 | * the authority (the 'authority' flag will NOT be set in the returned |
395 | * records anyway). | ||
396 | * | ||
397 | * The 'GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION' | ||
391 | * bit in 'must_have_flags' has a special meaning: | 398 | * bit in 'must_have_flags' has a special meaning: |
392 | * | 399 | * |
393 | * 0) If the bit is clear, all relative expriation times are converted to | 400 | * 0) If the bit is clear, all relative expriation times are converted to |