From 2502a670c1ce1252ef388d28365120a2ee6ca2f2 Mon Sep 17 00:00:00 2001 From: Maximilian Szengel Date: Thu, 18 Oct 2012 18:01:49 +0000 Subject: doxygen --- src/mesh/test_mesh_regex.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mesh/test_mesh_regex.c b/src/mesh/test_mesh_regex.c index f88822bc8..878ca2f68 100644 --- a/src/mesh/test_mesh_regex.c +++ b/src/mesh/test_mesh_regex.c @@ -41,6 +41,10 @@ */ #define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) +/** + * Initial regex padding. + */ +#define REGEX_INITIAL_PADDING "PADPADPADPADPADP" /** * Which strings have been found & connected. @@ -188,7 +192,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) /** * Ends test: Disconnects peers and calls shutdown. * @param cls Closure (not used). - * @param tc TaskContext. + * @param tc TaskContext. */ static void disconnect_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) @@ -287,7 +291,7 @@ ch (void *cls, const struct GNUNET_PeerIdentity *peer, "Peer connected: %s\n", GNUNET_i2s (peer)); regex_peers++; - + GNUNET_MESH_notify_transmit_ready(t[i], GNUNET_NO, GNUNET_TIME_UNIT_FOREVER_REL, peer, @@ -370,7 +374,7 @@ data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx, GNUNET_SCHEDULER_cancel (disconnect_task); disconnect_task = GNUNET_SCHEDULER_add_now (&disconnect_peers, NULL); - } + } return GNUNET_OK; } @@ -457,7 +461,7 @@ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, GNUNET_MESH_peer_request_connect_by_string (t[i], strings[i]); } /* connect handler = success, timeout = error */ - + } -- cgit v1.2.3