diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-05-04 16:53:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-05-04 16:53:00 +0200 |
commit | 3d2a951fa12546c09809f0a4d7e789ef8e971b03 (patch) | |
tree | da31a75671d613d946be56c200814c8628f1885e /src/include/gnunet_transport_application_service.h | |
parent | ba33155b4f60b8f8049c4f77e3b7b40e29ae63e2 (diff) | |
download | gnunet-3d2a951fa12546c09809f0a4d7e789ef8e971b03.tar.gz gnunet-3d2a951fa12546c09809f0a4d7e789ef8e971b03.zip |
only use mono time in TNG HELLOs
Diffstat (limited to 'src/include/gnunet_transport_application_service.h')
-rw-r--r-- | src/include/gnunet_transport_application_service.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gnunet_transport_application_service.h b/src/include/gnunet_transport_application_service.h index bbd4e3ddf..8c63a8234 100644 --- a/src/include/gnunet_transport_application_service.h +++ b/src/include/gnunet_transport_application_service.h | |||
@@ -50,7 +50,8 @@ struct GNUNET_TRANSPORT_ApplicationHandle; | |||
50 | * @return ats application handle, NULL on error | 50 | * @return ats application handle, NULL on error |
51 | */ | 51 | */ |
52 | struct GNUNET_TRANSPORT_ApplicationHandle * | 52 | struct GNUNET_TRANSPORT_ApplicationHandle * |
53 | GNUNET_TRANSPORT_application_init (const struct GNUNET_CONFIGURATION_Handle *cfg); | 53 | GNUNET_TRANSPORT_application_init ( |
54 | const struct GNUNET_CONFIGURATION_Handle *cfg); | ||
54 | 55 | ||
55 | 56 | ||
56 | /** | 57 | /** |
@@ -59,7 +60,8 @@ GNUNET_TRANSPORT_application_init (const struct GNUNET_CONFIGURATION_Handle *cfg | |||
59 | * @param ch handle to destroy | 60 | * @param ch handle to destroy |
60 | */ | 61 | */ |
61 | void | 62 | void |
62 | GNUNET_TRANSPORT_application_done (struct GNUNET_TRANSPORT_ApplicationHandle *ch); | 63 | GNUNET_TRANSPORT_application_done ( |
64 | struct GNUNET_TRANSPORT_ApplicationHandle *ch); | ||
63 | 65 | ||
64 | 66 | ||
65 | /** | 67 | /** |
@@ -72,21 +74,19 @@ GNUNET_TRANSPORT_application_done (struct GNUNET_TRANSPORT_ApplicationHandle *ch | |||
72 | * | 74 | * |
73 | * @param ch handle | 75 | * @param ch handle |
74 | * @param peer identity of the peer we have an address for | 76 | * @param peer identity of the peer we have an address for |
75 | * @param expiration when does @a addr expire; used by TRANSPORT to know when | ||
76 | * to definitively give up attempting to validate | ||
77 | * @param nt network type of @a addr (as claimed by the other peer); | 77 | * @param nt network type of @a addr (as claimed by the other peer); |
78 | * used by TRANSPORT to avoid trying @a addr's that really cannot work | 78 | * used by TRANSPORT to avoid trying @a addr's that really cannot work |
79 | * due to network type missmatches | 79 | * due to network type missmatches |
80 | * @param addr address to validate | 80 | * @param addr address to validate |
81 | */ | 81 | */ |
82 | void | 82 | void |
83 | GNUNET_TRANSPORT_application_validate (struct GNUNET_TRANSPORT_ApplicationHandle *ch, | 83 | GNUNET_TRANSPORT_application_validate ( |
84 | const struct GNUNET_PeerIdentity *peer, | 84 | struct GNUNET_TRANSPORT_ApplicationHandle *ch, |
85 | struct GNUNET_TIME_Absolute expiration, | 85 | const struct GNUNET_PeerIdentity *peer, |
86 | enum GNUNET_NetworkType nt, | 86 | enum GNUNET_NetworkType nt, |
87 | const char *addr); | 87 | const char *addr); |
88 | 88 | ||
89 | /** @} */ /* end of group */ | 89 | /** @} */ /* end of group */ |
90 | 90 | ||
91 | #endif | 91 | #endif |
92 | /* end of file gnunet_ats_application_service.h */ | 92 | /* end of file gnunet_ats_application_service.h */ |