gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 6ea10179642718f54eb1609d61c921bc6c44de3a
parent 08b77389d8aac354da74e53412099f7fb60caa28
Author: LRN <lrn1986@gmail.com>
Date:   Thu,  5 Sep 2013 18:48:00 +0000

Add forward declaration for tunnel_send_queued_data

Diffstat:
Msrc/mesh/gnunet-service-mesh-enc.c | 16+++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c @@ -1219,6 +1219,15 @@ handle_decrypted (struct MeshTunnel2 *t, /** + * Send all cached messages that we can, tunnel is online. + * + * @param t Tunnel that holds the messages. + * @param fwd Is this fwd? + */ +static void +tunnel_send_queued_data (struct MeshTunnel2 *t, int fwd); + +/** * Dummy function to separate declarations from definitions in function list. */ void @@ -3064,7 +3073,6 @@ tunnel_change_state (struct MeshTunnel2* t, enum MeshTunnelState state) t->state = state; } - /** * Cache a message to be sent once tunnel is online. * @@ -3093,12 +3101,6 @@ tunnel_queue_data (struct MeshTunnel2 *t, } -/** - * Send all cached messages that we can, tunnel is online. - * - * @param t Tunnel that holds the messages. - * @param fwd Is this fwd? - */ static void tunnel_send_queued_data (struct MeshTunnel2 *t, int fwd) {