summaryrefslogtreecommitdiff
path: root/src/bank-lib/test_bank_interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bank-lib/test_bank_interpreter.h')
-rw-r--r--src/bank-lib/test_bank_interpreter.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/bank-lib/test_bank_interpreter.h b/src/bank-lib/test_bank_interpreter.h
index 06b4e2d7f..d4e9c1a6c 100644
--- a/src/bank-lib/test_bank_interpreter.h
+++ b/src/bank-lib/test_bank_interpreter.h
@@ -125,6 +125,11 @@ struct TBI_Command
*/
struct TALER_BANK_AdminAddIncomingHandle *aih;
+ /**
+ * The serial ID for this record, as returned by the bank.
+ */
+ uint64_t serial_id;
+
} admin_add_incoming;
struct {
@@ -140,10 +145,10 @@ struct TBI_Command
enum TALER_BANK_Direction direction;
/**
- * At which offset do we start?
- * Use UINT64_MAX or 0 for the extremes.
+ * At which serial ID do we start? References the respective @e
+ * admin_add_incoming command. Use NULL for the extremes.
*/
- uint64_t start_row;
+ const char *start_row_ref;
/**
* How many results should be returned (if available)?
@@ -155,6 +160,16 @@ struct TBI_Command
*/
struct TALER_BANK_HistoryHandle *hh;
+ /**
+ * How many results did we actually get?
+ */
+ uint64_t results_obtained;
+
+ /**
+ * Set to #GNUNET_YES if we encountered a problem.
+ */
+ int failed;
+
} history;
/**