diff options
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index d7ca62219..bc5b791d5 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -74,9 +74,9 @@ struct SessionHeader | |||
74 | * use NULL wherever a session pointer is needed. This function | 74 | * use NULL wherever a session pointer is needed. This function |
75 | * should be called BEFORE a potential "TransmitContinuation" | 75 | * should be called BEFORE a potential "TransmitContinuation" |
76 | * from the "TransmitFunction". | 76 | * from the "TransmitFunction". |
77 | * | 77 | * |
78 | * @param cls closure | 78 | * @param cls closure |
79 | * @param peer which peer was the session for | 79 | * @param peer which peer was the session for |
80 | * @param session which session is being destoyed | 80 | * @param session which session is being destoyed |
81 | */ | 81 | */ |
82 | typedef void (*GNUNET_TRANSPORT_SessionEnd) (void *cls, | 82 | typedef void (*GNUNET_TRANSPORT_SessionEnd) (void *cls, |
@@ -393,14 +393,14 @@ typedef int (*GNUNET_TRANSPORT_CheckAddress) (void *cls, const void *addr, | |||
393 | 393 | ||
394 | /** | 394 | /** |
395 | * Function called for a quick conversion of the binary address to | 395 | * Function called for a quick conversion of the binary address to |
396 | * a numeric address. Note that the caller must not free the | 396 | * a numeric address. Note that the caller must not free the |
397 | * address and that the next call to this function is allowed | 397 | * address and that the next call to this function is allowed |
398 | * to override the address again. | 398 | * to override the address again. |
399 | * | 399 | * |
400 | * @param cls closure | 400 | * @param cls closure |
401 | * @param addr binary address | 401 | * @param addr binary address |
402 | * @param addr_len length of the address | 402 | * @param addr_len length of the address |
403 | * @return string representing the same address | 403 | * @return string representing the same address |
404 | */ | 404 | */ |
405 | typedef const char *(*GNUNET_TRANSPORT_AddressToString) (void *cls, | 405 | typedef const char *(*GNUNET_TRANSPORT_AddressToString) (void *cls, |
406 | const void *addr, | 406 | const void *addr, |
@@ -431,7 +431,7 @@ struct GNUNET_TRANSPORT_PluginFunctions | |||
431 | /** | 431 | /** |
432 | * Function that can be used to force the plugin to disconnect from | 432 | * Function that can be used to force the plugin to disconnect from |
433 | * the given peer and cancel all previous transmissions (and their | 433 | * the given peer and cancel all previous transmissions (and their |
434 | * continuations). | 434 | * continuations). |
435 | */ | 435 | */ |
436 | GNUNET_TRANSPORT_DisconnectFunction disconnect; | 436 | GNUNET_TRANSPORT_DisconnectFunction disconnect; |
437 | 437 | ||