diff options
Diffstat (limited to 'src/lib/testing_api_trait_string.c')
-rw-r--r-- | src/lib/testing_api_trait_string.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/lib/testing_api_trait_string.c b/src/lib/testing_api_trait_string.c index 8b8f511a7..606c6e0b6 100644 --- a/src/lib/testing_api_trait_string.c +++ b/src/lib/testing_api_trait_string.c | |||
@@ -48,8 +48,8 @@ | |||
48 | int | 48 | int |
49 | TALER_TESTING_get_trait_contract_terms | 49 | TALER_TESTING_get_trait_contract_terms |
50 | (const struct TALER_TESTING_Command *cmd, | 50 | (const struct TALER_TESTING_Command *cmd, |
51 | unsigned int index, | 51 | unsigned int index, |
52 | const json_t **contract_terms) | 52 | const json_t **contract_terms) |
53 | { | 53 | { |
54 | return cmd->traits (cmd->cls, | 54 | return cmd->traits (cmd->cls, |
55 | (const void **) contract_terms, | 55 | (const void **) contract_terms, |
@@ -67,7 +67,7 @@ TALER_TESTING_get_trait_contract_terms | |||
67 | struct TALER_TESTING_Trait | 67 | struct TALER_TESTING_Trait |
68 | TALER_TESTING_make_trait_contract_terms | 68 | TALER_TESTING_make_trait_contract_terms |
69 | (unsigned int index, | 69 | (unsigned int index, |
70 | const json_t *contract_terms) | 70 | const json_t *contract_terms) |
71 | { | 71 | { |
72 | struct TALER_TESTING_Trait ret = { | 72 | struct TALER_TESTING_Trait ret = { |
73 | .index = index, | 73 | .index = index, |
@@ -91,8 +91,8 @@ TALER_TESTING_make_trait_contract_terms | |||
91 | int | 91 | int |
92 | TALER_TESTING_get_trait_transfer_subject | 92 | TALER_TESTING_get_trait_transfer_subject |
93 | (const struct TALER_TESTING_Command *cmd, | 93 | (const struct TALER_TESTING_Command *cmd, |
94 | unsigned int index, | 94 | unsigned int index, |
95 | const char **transfer_subject) | 95 | const char **transfer_subject) |
96 | { | 96 | { |
97 | return cmd->traits (cmd->cls, | 97 | return cmd->traits (cmd->cls, |
98 | (const void **) transfer_subject, | 98 | (const void **) transfer_subject, |
@@ -112,7 +112,7 @@ TALER_TESTING_get_trait_transfer_subject | |||
112 | struct TALER_TESTING_Trait | 112 | struct TALER_TESTING_Trait |
113 | TALER_TESTING_make_trait_transfer_subject | 113 | TALER_TESTING_make_trait_transfer_subject |
114 | (unsigned int index, | 114 | (unsigned int index, |
115 | const char *transfer_subject) | 115 | const char *transfer_subject) |
116 | { | 116 | { |
117 | struct TALER_TESTING_Trait ret = { | 117 | struct TALER_TESTING_Trait ret = { |
118 | .index = index, | 118 | .index = index, |
@@ -136,8 +136,8 @@ TALER_TESTING_make_trait_transfer_subject | |||
136 | int | 136 | int |
137 | TALER_TESTING_get_trait_amount | 137 | TALER_TESTING_get_trait_amount |
138 | (const struct TALER_TESTING_Command *cmd, | 138 | (const struct TALER_TESTING_Command *cmd, |
139 | unsigned int index, | 139 | unsigned int index, |
140 | const char **amount) | 140 | const char **amount) |
141 | { | 141 | { |
142 | return cmd->traits (cmd->cls, | 142 | return cmd->traits (cmd->cls, |
143 | (const void **) amount, | 143 | (const void **) amount, |
@@ -157,7 +157,7 @@ TALER_TESTING_get_trait_amount | |||
157 | struct TALER_TESTING_Trait | 157 | struct TALER_TESTING_Trait |
158 | TALER_TESTING_make_trait_amount | 158 | TALER_TESTING_make_trait_amount |
159 | (unsigned int index, | 159 | (unsigned int index, |
160 | const char *amount) | 160 | const char *amount) |
161 | { | 161 | { |
162 | struct TALER_TESTING_Trait ret = { | 162 | struct TALER_TESTING_Trait ret = { |
163 | .index = index, | 163 | .index = index, |
@@ -181,8 +181,8 @@ TALER_TESTING_make_trait_amount | |||
181 | int | 181 | int |
182 | TALER_TESTING_get_trait_url | 182 | TALER_TESTING_get_trait_url |
183 | (const struct TALER_TESTING_Command *cmd, | 183 | (const struct TALER_TESTING_Command *cmd, |
184 | unsigned int index, | 184 | unsigned int index, |
185 | const char **url) | 185 | const char **url) |
186 | { | 186 | { |
187 | return cmd->traits (cmd->cls, | 187 | return cmd->traits (cmd->cls, |
188 | (const void **) url, | 188 | (const void **) url, |
@@ -202,7 +202,7 @@ TALER_TESTING_get_trait_url | |||
202 | struct TALER_TESTING_Trait | 202 | struct TALER_TESTING_Trait |
203 | TALER_TESTING_make_trait_url | 203 | TALER_TESTING_make_trait_url |
204 | (unsigned int index, | 204 | (unsigned int index, |
205 | const char *url) | 205 | const char *url) |
206 | { | 206 | { |
207 | struct TALER_TESTING_Trait ret = { | 207 | struct TALER_TESTING_Trait ret = { |
208 | .index = index, | 208 | .index = index, |
@@ -226,8 +226,8 @@ TALER_TESTING_make_trait_url | |||
226 | int | 226 | int |
227 | TALER_TESTING_get_trait_order_id | 227 | TALER_TESTING_get_trait_order_id |
228 | (const struct TALER_TESTING_Command *cmd, | 228 | (const struct TALER_TESTING_Command *cmd, |
229 | unsigned int index, | 229 | unsigned int index, |
230 | const char **order_id) | 230 | const char **order_id) |
231 | { | 231 | { |
232 | return cmd->traits (cmd->cls, | 232 | return cmd->traits (cmd->cls, |
233 | (const void **) order_id, | 233 | (const void **) order_id, |
@@ -247,7 +247,7 @@ TALER_TESTING_get_trait_order_id | |||
247 | struct TALER_TESTING_Trait | 247 | struct TALER_TESTING_Trait |
248 | TALER_TESTING_make_trait_order_id | 248 | TALER_TESTING_make_trait_order_id |
249 | (unsigned int index, | 249 | (unsigned int index, |
250 | const char *order_id) | 250 | const char *order_id) |
251 | { | 251 | { |
252 | struct TALER_TESTING_Trait ret = { | 252 | struct TALER_TESTING_Trait ret = { |
253 | .index = index, | 253 | .index = index, |
@@ -271,8 +271,8 @@ TALER_TESTING_make_trait_order_id | |||
271 | int | 271 | int |
272 | TALER_TESTING_get_trait_rejected | 272 | TALER_TESTING_get_trait_rejected |
273 | (const struct TALER_TESTING_Command *cmd, | 273 | (const struct TALER_TESTING_Command *cmd, |
274 | unsigned int index, | 274 | unsigned int index, |
275 | const char **rejected_reference) | 275 | const char **rejected_reference) |
276 | { | 276 | { |
277 | return cmd->traits (cmd->cls, | 277 | return cmd->traits (cmd->cls, |
278 | (const void **) rejected_reference, | 278 | (const void **) rejected_reference, |
@@ -292,7 +292,7 @@ TALER_TESTING_get_trait_rejected | |||
292 | struct TALER_TESTING_Trait | 292 | struct TALER_TESTING_Trait |
293 | TALER_TESTING_make_trait_rejected | 293 | TALER_TESTING_make_trait_rejected |
294 | (unsigned int index, | 294 | (unsigned int index, |
295 | const char *rejected) | 295 | const char *rejected) |
296 | { | 296 | { |
297 | struct TALER_TESTING_Trait ret = { | 297 | struct TALER_TESTING_Trait ret = { |
298 | .index = index, | 298 | .index = index, |