diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-07 09:29:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-07 09:29:33 +0000 |
commit | 50ada5687201159d94ff49c6961df8ffe527f6bc (patch) | |
tree | 892bbb22ba512403dc6d9934a4dbeece3a53be3e /src/transport/gnunet-service-transport_neighbours.h | |
parent | 91f7d85580d5f763f276e8d43bc40e958685c640 (diff) | |
download | gnunet-50ada5687201159d94ff49c6961df8ffe527f6bc.tar.gz gnunet-50ada5687201159d94ff49c6961df8ffe527f6bc.zip |
more neighbours code
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index 9c64f79ec..fc7576bbc 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -78,7 +78,7 @@ GST_neighbours_test_connected (const struct GNUNET_PeerIdentity *target); | |||
78 | * Function called after the transmission is done. | 78 | * Function called after the transmission is done. |
79 | * | 79 | * |
80 | * @param cls closure | 80 | * @param cls closure |
81 | * @param success GNUNET_OK on success, GNUNET_NO on failure | 81 | * @param success GNUNET_OK on success, GNUNET_NO on failure, GNUNET_SYSERR if we're not connected |
82 | */ | 82 | */ |
83 | typedef void (*GST_NeighbourSendContinuation)(void *cls, | 83 | typedef void (*GST_NeighbourSendContinuation)(void *cls, |
84 | int success); | 84 | int success); |
@@ -89,12 +89,14 @@ typedef void (*GST_NeighbourSendContinuation)(void *cls, | |||
89 | * | 89 | * |
90 | * @param target destination | 90 | * @param target destination |
91 | * @param msg message to send | 91 | * @param msg message to send |
92 | * @param timeout when to fail with timeout | ||
92 | * @param cont function to call when done | 93 | * @param cont function to call when done |
93 | * @param cont_cls closure for 'cont' | 94 | * @param cont_cls closure for 'cont' |
94 | */ | 95 | */ |
95 | void | 96 | void |
96 | GST_neighbours_send (const struct GNUNET_PeerIdentity *target, | 97 | GST_neighbours_send (const struct GNUNET_PeerIdentity *target, |
97 | const struct GNUNET_MessageHeader *msg, | 98 | const struct GNUNET_MessageHeader *msg, |
99 | struct GNUNET_TIME_Relative timeout, | ||
98 | GST_NeighbourSendContinuation cont, | 100 | GST_NeighbourSendContinuation cont, |
99 | void *cont_cls); | 101 | void *cont_cls); |
100 | 102 | ||