diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-08 22:36:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-08 22:36:00 +0000 |
commit | c8b184df65f4ce954ab571a2a174db3ea0d5c1d6 (patch) | |
tree | 351fcb9c770ad65c9990b043c4e4bf529784e78e /src/include/gnunet_namestore_service.h | |
parent | 8f31d00ecb420926db5363a2882b5302d8635246 (diff) | |
download | gnunet-c8b184df65f4ce954ab571a2a174db3ea0d5c1d6.tar.gz gnunet-c8b184df65f4ce954ab571a2a174db3ea0d5c1d6.zip |
-get rid of iteration response, use lookup response instead, message formats were identical to begin with
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index a1c5d6437..3966c3db2 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -458,13 +458,12 @@ struct GNUNET_NAMESTORE_ZoneMonitor; | |||
458 | * Function called whenever the records for a given name changed. | 458 | * Function called whenever the records for a given name changed. |
459 | * | 459 | * |
460 | * @param cls closure | 460 | * @param cls closure |
461 | * @param was_removed GNUNET_NO if the record was added, GNUNET_YES if it was removed, | 461 | * @param zone_key NULL if the communication with the namestore broke down |
462 | * GNUNET_SYSERR if the communication with the namestore broke down | ||
463 | * (and thus all entries should be 'cleared' until the communication | 462 | * (and thus all entries should be 'cleared' until the communication |
464 | * can be re-established, at which point the monitor will | 463 | * can be re-established, at which point the monitor will |
465 | * re-add all records that are (still) in the namestore after | 464 | * re-add all records that are (still) in the namestore after |
466 | * the reconnect); if this value is SYSERR, all other arguments | 465 | * the reconnect); if this value is NULL, all other arguments |
467 | * will be 0/NULL. | 466 | * will also be 0/NULL. |
468 | * @param freshness when does the corresponding block in the DHT expire (until | 467 | * @param freshness when does the corresponding block in the DHT expire (until |
469 | * when should we never do a DHT lookup for the same name again)?; | 468 | * when should we never do a DHT lookup for the same name again)?; |
470 | * GNUNET_TIME_UNIT_ZERO_ABS if there are no records of any type in the namestore, | 469 | * GNUNET_TIME_UNIT_ZERO_ABS if there are no records of any type in the namestore, |
@@ -476,7 +475,6 @@ struct GNUNET_NAMESTORE_ZoneMonitor; | |||
476 | * @param signature signature of the record block | 475 | * @param signature signature of the record block |
477 | */ | 476 | */ |
478 | typedef void (*GNUNET_NAMESTORE_RecordMonitor)(void *cls, | 477 | typedef void (*GNUNET_NAMESTORE_RecordMonitor)(void *cls, |
479 | int was_removed, | ||
480 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, | 478 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, |
481 | struct GNUNET_TIME_Absolute freshness, | 479 | struct GNUNET_TIME_Absolute freshness, |
482 | const char *name, | 480 | const char *name, |