diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-19 14:14:10 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-19 14:14:10 +0000 |
commit | f8ea0bded0aa012dbf7ef8e9119544e85247f3c0 (patch) | |
tree | 959e85bcd4afe06e8e868f5578fa2d68ed513c29 /src/include/gnunet_transport_service.h | |
parent | c7a70aa21e0f0a0325f8b2c743713d6fb1f2fc0a (diff) | |
download | gnunet-f8ea0bded0aa012dbf7ef8e9119544e85247f3c0.tar.gz gnunet-f8ea0bded0aa012dbf7ef8e9119544e85247f3c0.zip |
new API
Diffstat (limited to 'src/include/gnunet_transport_service.h')
-rw-r--r-- | src/include/gnunet_transport_service.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 87affd190..a1b88c309 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -285,10 +285,14 @@ typedef void | |||
285 | * @param cls closure | 285 | * @param cls closure |
286 | * @param address NULL on error or end of iteration, | 286 | * @param address NULL on error or end of iteration, |
287 | * otherwise 0-terminated printable UTF-8 string | 287 | * otherwise 0-terminated printable UTF-8 string |
288 | * @param res result of the address to string conversion: GNUNET_OK or GNUNET_SYSERR | ||
289 | * if GNUNET_OK: address contains address as string | ||
290 | * if GNUNET_SYSERR: address is invalid | ||
288 | */ | 291 | */ |
289 | typedef void | 292 | typedef void |
290 | (*GNUNET_TRANSPORT_AddressToStringCallback) (void *cls, | 293 | (*GNUNET_TRANSPORT_AddressToStringCallback) (void *cls, |
291 | const char *address); | 294 | const char *address, |
295 | int res); | ||
292 | 296 | ||
293 | 297 | ||
294 | /** | 298 | /** |