[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24407 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24407 - gnunet/src/mesh |
Date: |
Thu, 18 Oct 2012 20:01:49 +0200 |
Author: szengel
Date: 2012-10-18 20:01:49 +0200 (Thu, 18 Oct 2012)
New Revision: 24407
Modified:
gnunet/src/mesh/test_mesh_regex.c
Log:
doxygen
Modified: gnunet/src/mesh/test_mesh_regex.c
===================================================================
--- gnunet/src/mesh/test_mesh_regex.c 2012-10-18 18:00:10 UTC (rev 24406)
+++ gnunet/src/mesh/test_mesh_regex.c 2012-10-18 18:01:49 UTC (rev 24407)
@@ -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 @@
/**
* 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 @@
"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 @@
GNUNET_SCHEDULER_cancel (disconnect_task);
disconnect_task =
GNUNET_SCHEDULER_add_now (&disconnect_peers, NULL);
- }
+ }
return GNUNET_OK;
}
@@ -457,7 +461,7 @@
GNUNET_MESH_peer_request_connect_by_string (t[i], strings[i]);
}
/* connect handler = success, timeout = error */
-
+
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24407 - gnunet/src/mesh,
gnunet <=