diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-03 09:34:15 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-03 09:34:15 +0000 |
commit | 7d6e6b045a300cf753e685bc18ec0b1e264d1a25 (patch) | |
tree | 2e7069a9bfb46aef0ea9a45b944fbc934aaa2ce1 /src/include/gnunet_hello_lib.h | |
parent | 84bcdbdd34bfa4d597ae2635146fe15631b46f44 (diff) | |
download | gnunet-7d6e6b045a300cf753e685bc18ec0b1e264d1a25.tar.gz gnunet-7d6e6b045a300cf753e685bc18ec0b1e264d1a25.zip |
fix for bug #0003416: do not stop parsing uri when plugin is not found
- changed semantics for address generator cb: GNUNET_SYSERR indicates stop, >= 0 indicates bytes added
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index 8e96b5879..a88a3f9ac 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -231,10 +231,10 @@ GNUNET_HELLO_add_address (const struct GNUNET_HELLO_Address *address, | |||
231 | * @param cls closure | 231 | * @param cls closure |
232 | * @param max maximum number of bytes that can be written to @a buf | 232 | * @param max maximum number of bytes that can be written to @a buf |
233 | * @param buf where to write the address information | 233 | * @param buf where to write the address information |
234 | * @return number of bytes written, 0 to signal the | 234 | * @return number of bytes written or 0, GNUNET_SYSERR to signal the |
235 | * end of the iteration. | 235 | * end of the iteration. |
236 | */ | 236 | */ |
237 | typedef size_t | 237 | typedef ssize_t |
238 | (*GNUNET_HELLO_GenerateAddressListCallback) (void *cls, | 238 | (*GNUNET_HELLO_GenerateAddressListCallback) (void *cls, |
239 | size_t max, | 239 | size_t max, |
240 | void *buf); | 240 | void *buf); |