diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-25 06:24:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-25 06:24:01 +0000 |
commit | 8a3016481ba6aeb36de3950a56e641dda53ca544 (patch) | |
tree | 0c5468ec6e5d2165ad5931940e0b8439d09398de /src/include/gnunet_transport_plugin.h | |
parent | b6d4eeb39fd0cd41df164bd0959f58b08aa45e83 (diff) | |
download | gnunet-8a3016481ba6aeb36de3950a56e641dda53ca544.tar.gz gnunet-8a3016481ba6aeb36de3950a56e641dda53ca544.zip |
the big NAT change
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 507d95abe..40f134db0 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -123,19 +123,17 @@ typedef struct GNUNET_TIME_Relative (*GNUNET_TRANSPORT_PluginReceiveCallback) (v | |||
123 | * is aware that it might be reachable under. | 123 | * is aware that it might be reachable under. |
124 | * | 124 | * |
125 | * @param cls closure | 125 | * @param cls closure |
126 | * @param name name of the transport that generated the address | 126 | * @param add_remove should the address added (YES) or removed (NO) from the |
127 | * @param addr one of the addresses of the host, NULL for the last address | 127 | * set of valid addresses? |
128 | * @param addr one of the addresses of the host | ||
128 | * the specific address format depends on the transport | 129 | * the specific address format depends on the transport |
129 | * @param addrlen length of the address | 130 | * @param addrlen length of the address |
130 | * @param expires when should this address automatically expire? | ||
131 | */ | 131 | */ |
132 | typedef void (*GNUNET_TRANSPORT_AddressNotification) (void *cls, | 132 | typedef void (*GNUNET_TRANSPORT_AddressNotification) (void *cls, |
133 | const char *name, | 133 | int add_remove, |
134 | const void *addr, | 134 | const void *addr, |
135 | uint16_t addrlen, | 135 | size_t addrlen); |
136 | struct | 136 | |
137 | GNUNET_TIME_Relative | ||
138 | expires); | ||
139 | 137 | ||
140 | /** | 138 | /** |
141 | * Function that will be called whenever the plugin receives data over | 139 | * Function that will be called whenever the plugin receives data over |