aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-25 06:24:01 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-25 06:24:01 +0000
commit8a3016481ba6aeb36de3950a56e641dda53ca544 (patch)
tree0c5468ec6e5d2165ad5931940e0b8439d09398de /src/include/gnunet_transport_plugin.h
parentb6d4eeb39fd0cd41df164bd0959f58b08aa45e83 (diff)
downloadgnunet-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.h14
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 */
132typedef void (*GNUNET_TRANSPORT_AddressNotification) (void *cls, 132typedef 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