diff options
Diffstat (limited to 'src/scalarproduct/scalarproduct_testing.h')
-rw-r--r-- | src/scalarproduct/scalarproduct_testing.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/scalarproduct/scalarproduct_testing.h b/src/scalarproduct/scalarproduct_testing.h index a386fb0c7..5e7baa235 100644 --- a/src/scalarproduct/scalarproduct_testing.h +++ b/src/scalarproduct/scalarproduct_testing.h | |||
@@ -17,7 +17,7 @@ | |||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file scalarproduct/scalarproduct_testing.h | 21 | * @file scalarproduct/scalarproduct_testing.h |
22 | * @brief VectorProduct testcase common declarations | 22 | * @brief VectorProduct testcase common declarations |
23 | * @author Gaurav Kukreja | 23 | * @author Gaurav Kukreja |
@@ -32,14 +32,14 @@ | |||
32 | #ifdef __cplusplus | 32 | #ifdef __cplusplus |
33 | extern "C" { | 33 | extern "C" { |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | struct GNUNET_SCALARPRODUCT_TESTING_handle | 36 | struct GNUNET_SCALARPRODUCT_TESTING_handle |
37 | { | 37 | { |
38 | /** | 38 | /** |
39 | * Testing library system handle | 39 | * Testing library system handle |
40 | */ | 40 | */ |
41 | struct GNUNET_TESTING_System *tl_system; | 41 | struct GNUNET_TESTING_System *tl_system; |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * head DLL of peers | 44 | * head DLL of peers |
45 | */ | 45 | */ |
@@ -51,7 +51,7 @@ struct GNUNET_SCALARPRODUCT_TESTING_handle | |||
51 | struct PeerContext *p_tail; | 51 | struct PeerContext *p_tail; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | struct PeerContext | 54 | struct PeerContext |
55 | { | 55 | { |
56 | /** | 56 | /** |
57 | * Next element in the DLL | 57 | * Next element in the DLL |
@@ -72,17 +72,17 @@ struct PeerContext | |||
72 | * Peer identity | 72 | * Peer identity |
73 | */ | 73 | */ |
74 | struct GNUNET_PeerIdentity id; | 74 | struct GNUNET_PeerIdentity id; |
75 | 75 | ||
76 | /** | 76 | /** |
77 | * Handle for the peer's ARM process | 77 | * Handle for the peer's ARM process |
78 | */ | 78 | */ |
79 | struct GNUNET_OS_Process *arm_proc; | 79 | struct GNUNET_OS_Process *arm_proc; |
80 | 80 | ||
81 | /** | 81 | /** |
82 | * Pointer to Vector Product Handle | 82 | * Pointer to Vector Product Handle |
83 | */ | 83 | */ |
84 | struct GNUNET_SCALARPRODUCT_Handle *vh; | 84 | struct GNUNET_SCALARPRODUCT_Handle *vh; |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * Closure for the callbacks | 87 | * Closure for the callbacks |
88 | */ | 88 | */ |
@@ -92,23 +92,23 @@ struct PeerContext | |||
92 | * An unique number to identify the peer | 92 | * An unique number to identify the peer |
93 | */ | 93 | */ |
94 | unsigned int no; | 94 | unsigned int no; |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * Peer's configuration | 97 | * Peer's configuration |
98 | */ | 98 | */ |
99 | struct GNUNET_CONFIGURATION_Handle *cfg; | 99 | struct GNUNET_CONFIGURATION_Handle *cfg; |
100 | 100 | ||
101 | /** | 101 | /** |
102 | * Pointer to the master testing handle | 102 | * Pointer to the master testing handle |
103 | */ | 103 | */ |
104 | struct GNUNET_SCALARPRODUCT_TESTING_handle * vth; | 104 | struct GNUNET_SCALARPRODUCT_TESTING_handle * vth; |
105 | 105 | ||
106 | /** | 106 | /** |
107 | * Callback when two peers are connected and both have called the connect callback | 107 | * Callback when two peers are connected and both have called the connect callback |
108 | * to notify clients about a new peer | 108 | * to notify clients about a new peer |
109 | */ | 109 | */ |
110 | void (*start_cb) (struct PeerContext * p, void *cls); | 110 | void (*start_cb) (struct PeerContext * p, void *cls); |
111 | 111 | ||
112 | // /** | 112 | // /** |
113 | // * Pointer to function where the test occurs | 113 | // * Pointer to function where the test occurs |
114 | // */ | 114 | // */ |