aboutsummaryrefslogtreecommitdiff
path: root/src/lib/testing_api_trait_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/testing_api_trait_string.c')
-rw-r--r--src/lib/testing_api_trait_string.c36
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 @@
48int 48int
49TALER_TESTING_get_trait_contract_terms 49TALER_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
67struct TALER_TESTING_Trait 67struct TALER_TESTING_Trait
68TALER_TESTING_make_trait_contract_terms 68TALER_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
91int 91int
92TALER_TESTING_get_trait_transfer_subject 92TALER_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
112struct TALER_TESTING_Trait 112struct TALER_TESTING_Trait
113TALER_TESTING_make_trait_transfer_subject 113TALER_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
136int 136int
137TALER_TESTING_get_trait_amount 137TALER_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
157struct TALER_TESTING_Trait 157struct TALER_TESTING_Trait
158TALER_TESTING_make_trait_amount 158TALER_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
181int 181int
182TALER_TESTING_get_trait_url 182TALER_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
202struct TALER_TESTING_Trait 202struct TALER_TESTING_Trait
203TALER_TESTING_make_trait_url 203TALER_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
226int 226int
227TALER_TESTING_get_trait_order_id 227TALER_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
247struct TALER_TESTING_Trait 247struct TALER_TESTING_Trait
248TALER_TESTING_make_trait_order_id 248TALER_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
271int 271int
272TALER_TESTING_get_trait_rejected 272TALER_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
292struct TALER_TESTING_Trait 292struct TALER_TESTING_Trait
293TALER_TESTING_make_trait_rejected 293TALER_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,