diff options
Diffstat (limited to 'src/transport/gnunet-service-transport.h')
-rw-r--r-- | src/transport/gnunet-service-transport.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport.h b/src/transport/gnunet-service-transport.h index 1a079e167..cc83f2c83 100644 --- a/src/transport/gnunet-service-transport.h +++ b/src/transport/gnunet-service-transport.h | |||
@@ -62,6 +62,19 @@ extern struct GNUNET_CRYPTO_EddsaPrivateKey *GST_my_private_key; | |||
62 | */ | 62 | */ |
63 | extern struct GNUNET_ATS_SchedulingHandle *GST_ats; | 63 | extern struct GNUNET_ATS_SchedulingHandle *GST_ats; |
64 | 64 | ||
65 | |||
66 | /** | ||
67 | * Function to call when a peer's address has changed | ||
68 | * | ||
69 | * @param cls closure | ||
70 | * @param peer peer this update is about, | ||
71 | * @param address address, NULL for disconnect notification | ||
72 | */ | ||
73 | typedef void (*GNUNET_TRANSPORT_AddressChangeCallback) (void *cls, | ||
74 | const struct GNUNET_PeerIdentity *peer, | ||
75 | const struct GNUNET_HELLO_Address *address); | ||
76 | |||
77 | |||
65 | /** | 78 | /** |
66 | * Function called by the transport for each received message. | 79 | * Function called by the transport for each received message. |
67 | * This function should also be called with "NULL" for the | 80 | * This function should also be called with "NULL" for the |