aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 20:00:55 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 20:00:55 +0200
commit1f2674fe293be7c1a852fbe4a7241fbcb149078f (patch)
tree075dd0aa3d2b19b0c62b18bdf3d99f324dea2966 /src/testbed
parent82a5d35360c4c882d9a5f92c4ac27c61bd4a4cc5 (diff)
downloadgnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.tar.gz
gnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.zip
-fix typos
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-service-testbed.h4
-rw-r--r--src/testbed/gnunet-service-testbed_barriers.h2
-rw-r--r--src/testbed/gnunet-service-testbed_links.c10
-rw-r--r--src/testbed/gnunet-service-testbed_links.h12
-rw-r--r--src/testbed/testbed_api.h4
-rw-r--r--src/testbed/testbed_api_hosts.h2
-rw-r--r--src/testbed/testbed_api_operations.h4
-rw-r--r--src/testbed/testbed_api_peers.h2
-rw-r--r--src/testbed/testbed_api_topology.h2
9 files changed, 21 insertions, 21 deletions
diff --git a/src/testbed/gnunet-service-testbed.h b/src/testbed/gnunet-service-testbed.h
index ae477ccb4..1c6aadb59 100644
--- a/src/testbed/gnunet-service-testbed.h
+++ b/src/testbed/gnunet-service-testbed.h
@@ -488,7 +488,7 @@ extern char *GST_stats_dir;
488 * @param ptr the array pointer to grow 488 * @param ptr the array pointer to grow
489 * @param size the size of array 489 * @param size the size of array
490 * @param accommodate_size the size which the array has to accommdate; after 490 * @param accommodate_size the size which the array has to accommdate; after
491 * this call the array will be big enough to accommdate sizes upto 491 * this call the array will be big enough to accommdate sizes up to
492 * accommodate_size 492 * accommodate_size
493 */ 493 */
494#define GST_array_grow_large_enough(ptr, size, accommodate_size) \ 494#define GST_array_grow_large_enough(ptr, size, accommodate_size) \
@@ -772,7 +772,7 @@ check_peer_reconfigure (void *cls,
772 772
773/** 773/**
774 * Handler for #GNUNET_MESSAGE_TYPDE_TESTBED_RECONFIGURE_PEER type messages. 774 * Handler for #GNUNET_MESSAGE_TYPDE_TESTBED_RECONFIGURE_PEER type messages.
775 * Should stop the peer asyncronously, destroy it and create it again with the 775 * Should stop the peer asynchronously, destroy it and create it again with the
776 * new configuration. 776 * new configuration.
777 * 777 *
778 * @param cls identification of the client 778 * @param cls identification of the client
diff --git a/src/testbed/gnunet-service-testbed_barriers.h b/src/testbed/gnunet-service-testbed_barriers.h
index f58e10609..aa2718777 100644
--- a/src/testbed/gnunet-service-testbed_barriers.h
+++ b/src/testbed/gnunet-service-testbed_barriers.h
@@ -28,7 +28,7 @@
28#define GNUNET_SERVER_TESTBED_BARRIERS_H_ 28#define GNUNET_SERVER_TESTBED_BARRIERS_H_
29 29
30/** 30/**
31 * Function to initialise barrriers component 31 * Function to initialise barriers component
32 * 32 *
33 * @param cfg the configuration to use for initialisation 33 * @param cfg the configuration to use for initialisation
34 */ 34 */
diff --git a/src/testbed/gnunet-service-testbed_links.c b/src/testbed/gnunet-service-testbed_links.c
index fb25d7bcb..dbdeed0d9 100644
--- a/src/testbed/gnunet-service-testbed_links.c
+++ b/src/testbed/gnunet-service-testbed_links.c
@@ -155,7 +155,7 @@ struct NeighbourConnectNotification
155 /** 155 /**
156 * The notification callback to call when we are connect to neighbour 156 * The notification callback to call when we are connect to neighbour
157 */ 157 */
158 GST_NeigbourConnectNotifyCallback cb; 158 GST_NeighbourConnectNotifyCallback cb;
159 159
160 /** 160 /**
161 * The closure for the above callback 161 * The closure for the above callback
@@ -925,7 +925,7 @@ trigger_notifications (struct Neighbour *n)
925 925
926/** 926/**
927 * Callback to be called when the neighbour connect operation is started. The 927 * Callback to be called when the neighbour connect operation is started. The
928 * connection to the neigbour is opened here and any pending notifications are 928 * connection to the neighbour is opened here and any pending notifications are
929 * trigger. 929 * trigger.
930 * 930 *
931 * @param cls the neighbour 931 * @param cls the neighbour
@@ -971,7 +971,7 @@ oprelease_neighbour_conn (void *cls)
971 971
972 972
973/** 973/**
974 * Try to open a connection to the given neigbour. If the connection is open 974 * Try to open a connection to the given neighbour. If the connection is open
975 * already, then it is re-used. If not, the request is queued in the operation 975 * already, then it is re-used. If not, the request is queued in the operation
976 * queues responsible for bounding the total number of file descriptors. The 976 * queues responsible for bounding the total number of file descriptors. The
977 * actual connection will happen when the operation queue marks the 977 * actual connection will happen when the operation queue marks the
@@ -983,7 +983,7 @@ oprelease_neighbour_conn (void *cls)
983 */ 983 */
984struct NeighbourConnectNotification * 984struct NeighbourConnectNotification *
985GST_neighbour_get_connection (struct Neighbour *n, 985GST_neighbour_get_connection (struct Neighbour *n,
986 GST_NeigbourConnectNotifyCallback cb, 986 GST_NeighbourConnectNotifyCallback cb,
987 void *cb_cls) 987 void *cb_cls)
988{ 988{
989 struct NeighbourConnectNotification *h; 989 struct NeighbourConnectNotification *h;
@@ -1179,7 +1179,7 @@ neighbour_connect_cb (void *cls,
1179 1179
1180 1180
1181/** 1181/**
1182 * Function to create a neigbour and add it into the neighbour list 1182 * Function to create a neighbour and add it into the neighbour list
1183 * 1183 *
1184 * @param host the host of the neighbour 1184 * @param host the host of the neighbour
1185 */ 1185 */
diff --git a/src/testbed/gnunet-service-testbed_links.h b/src/testbed/gnunet-service-testbed_links.h
index 021895b1c..74db0bd47 100644
--- a/src/testbed/gnunet-service-testbed_links.h
+++ b/src/testbed/gnunet-service-testbed_links.h
@@ -129,13 +129,13 @@ struct NeighbourConnectNotification;
129 * @param controller the controller handle to the neighbour 129 * @param controller the controller handle to the neighbour
130 */ 130 */
131typedef void 131typedef void
132(*GST_NeigbourConnectNotifyCallback) (void *cls, 132(*GST_NeighbourConnectNotifyCallback) (void *cls,
133 struct GNUNET_TESTBED_Controller * 133 struct GNUNET_TESTBED_Controller *
134 controller); 134 controller);
135 135
136 136
137/** 137/**
138 * Try to open a connection to the given neigbour. If the connection is open 138 * Try to open a connection to the given neighbour. If the connection is open
139 * already, then it is re-used. If not, the request is queued in the operation 139 * already, then it is re-used. If not, the request is queued in the operation
140 * queues responsible for bounding the total number of file descriptors. The 140 * queues responsible for bounding the total number of file descriptors. The
141 * actual connection will happen when the operation queue marks the 141 * actual connection will happen when the operation queue marks the
@@ -147,7 +147,7 @@ typedef void
147 */ 147 */
148struct NeighbourConnectNotification * 148struct NeighbourConnectNotification *
149GST_neighbour_get_connection (struct Neighbour *n, 149GST_neighbour_get_connection (struct Neighbour *n,
150 GST_NeigbourConnectNotifyCallback cb, 150 GST_NeighbourConnectNotifyCallback cb,
151 void *cb_cls); 151 void *cb_cls);
152 152
153 153
@@ -172,7 +172,7 @@ GST_neighbour_release_connection (struct Neighbour *n);
172 172
173 173
174/** 174/**
175 * Function to create a neigbour and add it into the neighbour list 175 * Function to create a neighbour and add it into the neighbour list
176 * 176 *
177 * @param host the host of the neighbour 177 * @param host the host of the neighbour
178 */ 178 */
diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h
index 17cd38df3..f6808a851 100644
--- a/src/testbed/testbed_api.h
+++ b/src/testbed/testbed_api.h
@@ -156,7 +156,7 @@ struct OperationContext
156 void *data; 156 void *data;
157 157
158 /** 158 /**
159 * The id of the opearation 159 * The id of the operation
160 */ 160 */
161 uint64_t id; 161 uint64_t id;
162 162
@@ -282,7 +282,7 @@ struct GNUNET_TESTBED_Barrier
282 struct GNUNET_HashCode key; 282 struct GNUNET_HashCode key;
283 283
284 /** 284 /**
285 * The controller handle given while initiliasing this barrier 285 * The controller handle given while initalising this barrier
286 */ 286 */
287 struct GNUNET_TESTBED_Controller *c; 287 struct GNUNET_TESTBED_Controller *c;
288 288
diff --git a/src/testbed/testbed_api_hosts.h b/src/testbed/testbed_api_hosts.h
index 9b19eb8ec..291cab859 100644
--- a/src/testbed/testbed_api_hosts.h
+++ b/src/testbed/testbed_api_hosts.h
@@ -48,7 +48,7 @@ struct GNUNET_TESTBED_HostRegistrationHandle
48 struct GNUNET_TESTBED_Controller *c; 48 struct GNUNET_TESTBED_Controller *c;
49 49
50 /** 50 /**
51 * The Registartion completion callback 51 * The Registration completion callback
52 */ 52 */
53 GNUNET_TESTBED_HostRegistrationCompletion cc; 53 GNUNET_TESTBED_HostRegistrationCompletion cc;
54 54
diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h
index 2ecbc7b66..d9de5c011 100644
--- a/src/testbed/testbed_api_operations.h
+++ b/src/testbed/testbed_api_operations.h
@@ -163,7 +163,7 @@ typedef void (*OperationStart) (void *cls);
163 * "GNUNET_TESTBED_operation_cancel" (before the operation generated 163 * "GNUNET_TESTBED_operation_cancel" (before the operation generated
164 * an event) or AFTER the operation generated an event due to a call 164 * an event) or AFTER the operation generated an event due to a call
165 * to "GNUNET_TESTBED_operation_done". Thus it is not guaranteed that 165 * to "GNUNET_TESTBED_operation_done". Thus it is not guaranteed that
166 * a callback to the 'OperationStart' preceeds the call to 166 * a callback to the 'OperationStart' precedes the call to
167 * 'OperationRelease'. Implementations of this function are expected 167 * 'OperationRelease'. Implementations of this function are expected
168 * to clean up whatever state is in 'cls' and release all resources 168 * to clean up whatever state is in 'cls' and release all resources
169 * associated with the operation. 169 * associated with the operation.
@@ -210,7 +210,7 @@ GNUNET_TESTBED_operation_inactivate_ (struct GNUNET_TESTBED_Operation *op);
210 210
211 211
212/** 212/**
213 * Marks and inactive operation as active. This fuction should be called to 213 * Marks and inactive operation as active. This function should be called to
214 * ensure that the oprelease callback will not be called until it is either 214 * ensure that the oprelease callback will not be called until it is either
215 * marked as inactive or released. 215 * marked as inactive or released.
216 * 216 *
diff --git a/src/testbed/testbed_api_peers.h b/src/testbed/testbed_api_peers.h
index 9ca104081..db8ec9881 100644
--- a/src/testbed/testbed_api_peers.h
+++ b/src/testbed/testbed_api_peers.h
@@ -247,7 +247,7 @@ struct OverlayConnectData
247 247
248 /** 248 /**
249 * OperationContext for forwarded operations generated when peer1's controller doesn't have the 249 * OperationContext for forwarded operations generated when peer1's controller doesn't have the
250 * configuration of peer2's controller for linking laterally to attemp an 250 * configuration of peer2's controller for linking laterally to attempt an
251 * overlay connection between peer 1 and peer 2. 251 * overlay connection between peer 1 and peer 2.
252 */ 252 */
253 struct OperationContext *sub_opc; 253 struct OperationContext *sub_opc;
diff --git a/src/testbed/testbed_api_topology.h b/src/testbed/testbed_api_topology.h
index c303c1412..564fa421f 100644
--- a/src/testbed/testbed_api_topology.h
+++ b/src/testbed/testbed_api_topology.h
@@ -29,7 +29,7 @@
29 29
30/** 30/**
31 * Returns the number of links that are required to generate a 2d torus for the 31 * Returns the number of links that are required to generate a 2d torus for the
32 * given number of peers. Also returns the arrangment (number of rows and the 32 * given number of peers. Also returns the arrangement (number of rows and the
33 * length of each row) 33 * length of each row)
34 * 34 *
35 * @param num_peers number of peers 35 * @param num_peers number of peers