diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-12 09:02:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-12 09:02:38 +0000 |
commit | f76896d09afabb721219d3217037cc7a7f26d570 (patch) | |
tree | b5910f5b68aa22954dcdca675017db18481a96d0 /src/transport/gnunet-service-transport_neighbours.h | |
parent | d220651a00e92367387e6f0d881c8115fc9e2973 (diff) | |
download | gnunet-f76896d09afabb721219d3217037cc7a7f26d570.tar.gz gnunet-f76896d09afabb721219d3217037cc7a7f26d570.zip |
implementing client's send
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 8ccf3cb67..76e5e7336 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -90,13 +90,15 @@ typedef void (*GST_NeighbourSendContinuation)(void *cls, | |||
90 | * | 90 | * |
91 | * @param target destination | 91 | * @param target destination |
92 | * @param msg message to send | 92 | * @param msg message to send |
93 | * @param msg_size number of bytes in msg | ||
93 | * @param timeout when to fail with timeout | 94 | * @param timeout when to fail with timeout |
94 | * @param cont function to call when done | 95 | * @param cont function to call when done |
95 | * @param cont_cls closure for 'cont' | 96 | * @param cont_cls closure for 'cont' |
96 | */ | 97 | */ |
97 | void | 98 | void |
98 | GST_neighbours_send (const struct GNUNET_PeerIdentity *target, | 99 | GST_neighbours_send (const struct GNUNET_PeerIdentity *target, |
99 | const struct GNUNET_MessageHeader *msg, | 100 | const void *msg, |
101 | size_t msg_size, | ||
100 | struct GNUNET_TIME_Relative timeout, | 102 | struct GNUNET_TIME_Relative timeout, |
101 | GST_NeighbourSendContinuation cont, | 103 | GST_NeighbourSendContinuation cont, |
102 | void *cont_cls); | 104 | void *cont_cls); |