diff options
Diffstat (limited to 'src/include/gnunet_transport_service.h')
-rw-r--r-- | src/include/gnunet_transport_service.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index d1b341a8c..a511a0e7d 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -41,7 +41,7 @@ extern "C" | |||
41 | /** | 41 | /** |
42 | * Version number of the transport API. | 42 | * Version number of the transport API. |
43 | */ | 43 | */ |
44 | #define GNUNET_TRANSPORT_VERSION 0x00000001 | 44 | #define GNUNET_TRANSPORT_VERSION 0x00000002 |
45 | 45 | ||
46 | 46 | ||
47 | /** | 47 | /** |
@@ -672,7 +672,7 @@ struct GNUNET_TRANSPORT_PeerMonitoringContext; | |||
672 | * @param cls closure | 672 | * @param cls closure |
673 | * @param peer peer this update is about, | 673 | * @param peer peer this update is about, |
674 | * NULL if this is the final last callback for a iteration operation | 674 | * NULL if this is the final last callback for a iteration operation |
675 | * @param address address, NULL for disconnect notification in monitor mode | 675 | * @param address address, NULL if this is the final callback for iteration op |
676 | * @param state current state this peer is in | 676 | * @param state current state this peer is in |
677 | * @param state_timeout timeout for the current state of the peer | 677 | * @param state_timeout timeout for the current state of the peer |
678 | */ | 678 | */ |
@@ -789,13 +789,11 @@ enum GNUNET_TRANSPORT_ValidationState | |||
789 | * the current state of the validation entry, | 789 | * the current state of the validation entry, |
790 | * | 790 | * |
791 | * If the monitoring was called with `one_shot==GNUNET_YES`, a final callback | 791 | * If the monitoring was called with `one_shot==GNUNET_YES`, a final callback |
792 | * with `peer==NULL` and `address==NULL` is executed. | 792 | * with `address==NULL` is executed. |
793 | * | 793 | * |
794 | * @param cls closure | 794 | * @param cls closure |
795 | * @param peer peer this update is about, | 795 | * @param address address this update is about, |
796 | * NULL if this is the final last callback for a iteration operation | 796 | * NULL if this is the final last callback for a iteration operation |
797 | * @param address address, | ||
798 | * NULL for disconnect notification in monitor mode | ||
799 | * @param last_validation when was this address last validated | 797 | * @param last_validation when was this address last validated |
800 | * @param valid_until when does this address expire | 798 | * @param valid_until when does this address expire |
801 | * @param next_validation time of the next validation operation | 799 | * @param next_validation time of the next validation operation |
@@ -803,7 +801,6 @@ enum GNUNET_TRANSPORT_ValidationState | |||
803 | */ | 801 | */ |
804 | typedef void | 802 | typedef void |
805 | (*GNUNET_TRANSPORT_ValidationIterateCallback) (void *cls, | 803 | (*GNUNET_TRANSPORT_ValidationIterateCallback) (void *cls, |
806 | const struct GNUNET_PeerIdentity *peer, | ||
807 | const struct GNUNET_HELLO_Address *address, | 804 | const struct GNUNET_HELLO_Address *address, |
808 | struct GNUNET_TIME_Absolute last_validation, | 805 | struct GNUNET_TIME_Absolute last_validation, |
809 | struct GNUNET_TIME_Absolute valid_until, | 806 | struct GNUNET_TIME_Absolute valid_until, |
@@ -1061,5 +1058,3 @@ GNUNET_TRANSPORT_monitor_plugins_cancel (struct GNUNET_TRANSPORT_PluginMonitor * | |||
1061 | /* ifndef GNUNET_TRANSPORT_SERVICE_H */ | 1058 | /* ifndef GNUNET_TRANSPORT_SERVICE_H */ |
1062 | #endif | 1059 | #endif |
1063 | /* end of gnunet_transport_service.h */ | 1060 | /* end of gnunet_transport_service.h */ |
1064 | |||
1065 | |||