aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-12-08 19:21:52 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-12-08 19:21:52 +0900
commitf26345b68768695391d9a8ae983a27c03b8ce874 (patch)
treea5f757e745e9b26c00d0efeb1fbae04a791b30b6 /src/include
parent2b48c60fde7d6a70cff7a7852f3188e3673c70bd (diff)
downloadgnunet-f26345b68768695391d9a8ae983a27c03b8ce874.tar.gz
gnunet-f26345b68768695391d9a8ae983a27c03b8ce874.zip
-more fixmes
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_testing_ng_lib.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/include/gnunet_testing_ng_lib.h b/src/include/gnunet_testing_ng_lib.h
index 88910f65f..1e2f4b30d 100644
--- a/src/include/gnunet_testing_ng_lib.h
+++ b/src/include/gnunet_testing_ng_lib.h
@@ -99,6 +99,17 @@ struct GNUNET_TESTING_AsyncContext
99 */ 99 */
100struct GNUNET_TESTING_Command 100struct GNUNET_TESTING_Command
101{ 101{
102 // FIXME: This should not be here. Looking at the code commands are used
103 // in arrays. Not lists.
104 /**
105 * Pointer to the previous command in the DLL.
106 */
107 struct GNUNET_TESTING_Command *prev;
108
109 /**
110 * Pointer to the next command in the DLL.
111 */
112 struct GNUNET_TESTING_Command *next;
102 113
103 /** 114 /**
104 * Closure for all commands with command-specific context information. 115 * Closure for all commands with command-specific context information.
@@ -195,16 +206,6 @@ struct GNUNET_TESTING_Command
195 struct GNUNET_TIME_Relative default_timeout; 206 struct GNUNET_TIME_Relative default_timeout;
196 207
197 /** 208 /**
198 * Pointer to the previous command in the DLL.
199 */
200 struct GNUNET_TESTING_Command *prev;
201
202 /**
203 * Pointer to the next command in the DLL.
204 */
205 struct GNUNET_TESTING_Command *next;
206
207 /**
208 * How often did we try to execute this command? (In case it is a request 209 * How often did we try to execute this command? (In case it is a request
209 * that is repated.) Note that a command must have some built-in retry 210 * that is repated.) Note that a command must have some built-in retry
210 * mechanism for this value to be useful. 211 * mechanism for this value to be useful.