From 15c1a877c617fd29ff61e2ebd1f6fac72e54afce Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 14 Dec 2018 00:34:35 +0100 Subject: /history API semantics extended. That API has now a new 'ordering' flag that lets the client choose what ordering the results should have: ascending or descending. In particular, this change adapted the fakebank and tests logic to such introduction. --- src/bank-lib/test_bank_interpreter.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bank-lib/test_bank_interpreter.h') diff --git a/src/bank-lib/test_bank_interpreter.h b/src/bank-lib/test_bank_interpreter.h index 010538ac9..ae323055d 100644 --- a/src/bank-lib/test_bank_interpreter.h +++ b/src/bank-lib/test_bank_interpreter.h @@ -174,6 +174,12 @@ struct TBI_Command */ int failed; + /** + * if true, the history elements will be asked in + * chronological order. + */ + unsigned int ascending; + } history; /** -- cgit v1.2.3