aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_bank_service.h35
-rw-r--r--src/include/taler_testing_bank_lib.h57
2 files changed, 0 insertions, 92 deletions
diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h
index b2a02f74d..a7246ad2d 100644
--- a/src/include/taler_bank_service.h
+++ b/src/include/taler_bank_service.h
@@ -290,41 +290,6 @@ TALER_BANK_history (struct GNUNET_CURL_Context *ctx,
/**
- * Request the wire transfer history of a bank account,
- * using time stamps to narrow the results.
- *
- * @param ctx curl context for the event loop
- * @param bank_base_url URL of the bank (used to execute this
- * request)
- * @param auth authentication data to use
- * @param account_number which account number should we query
- * @param direction what kinds of wire transfers should be
- * returned
- * @param ascending if GNUNET_YES, history elements will
- * be returned in chronological order.
- * @param start_date threshold for oldest result.
- * @param end_date threshold for youngest result.
- * @param hres_cb the callback to call with the transaction
- * history
- * @param hres_cb_cls closure for the above callback
- * @return NULL if the inputs are invalid (i.e. zero value for
- * @e num_results). In this case, the callback is not
- * called.
- */
-struct TALER_BANK_HistoryHandle *
-TALER_BANK_history_range (struct GNUNET_CURL_Context *ctx,
- const char *bank_base_url,
- const struct TALER_BANK_AuthenticationData *auth,
- uint64_t account_number,
- enum TALER_BANK_Direction direction,
- unsigned int ascending,
- struct GNUNET_TIME_Absolute start_date,
- struct GNUNET_TIME_Absolute end_date,
- TALER_BANK_HistoryResultCallback hres_cb,
- void *hres_cb_cls);
-
-
-/**
* Cancel an history request. This function cannot be used on a request
* handle if the last response (anything with a status code other than
* 200) is already served for it.
diff --git a/src/include/taler_testing_bank_lib.h b/src/include/taler_testing_bank_lib.h
index 27db9d599..6b407197f 100644
--- a/src/include/taler_testing_bank_lib.h
+++ b/src/include/taler_testing_bank_lib.h
@@ -127,63 +127,6 @@ TALER_TESTING_cmd_bank_history (const char *label,
/**
- * Make a "history-range" CMD, picking dates from the arguments.
- *
- * @param label command label.
- * @param bank_url base URL of the bank offering the "history"
- * operation.
- * @param account_no bank account number to ask the history for.
- * @param direction which direction this operation is interested.
- * @param ascending if GNUNET_YES, the bank will return the rows
- * in ascending (= chronological) order.
- * @param start_date value for the 'start' argument
- * of "/history-range".
- * @param end_date value for the 'end' argument
- * of "/history-range".
- * @return the command.
- */
-struct TALER_TESTING_Command
-TALER_TESTING_cmd_bank_history_range_with_dates (const char *label,
- const char *bank_url,
- uint64_t account_no,
- enum TALER_BANK_Direction
- direction,
- unsigned int ascending,
- struct GNUNET_TIME_Absolute
- start_date,
- struct GNUNET_TIME_Absolute
- end_date);
-
-
-/**
- * Make a "history-range" CMD, picking dates from traits.
- *
- * @param label command label.
- * @param bank_url base URL of the bank offering the "history"
- * operation.
- * @param account_no bank account number to ask the history for.
- * @param direction which direction this operation is interested.
- * @param ascending if GNUNET_YES, the bank will return the rows
- * in ascending (= chronological) order.
- * @param start_row_reference reference to a command that can
- * offer a absolute time to use as the 'start' argument
- * for "/history-range".
- * @param end_row_reference reference to a command that can
- * offer a absolute time to use as the 'end' argument
- * for "/history-range".
- * @return the command.
- */
-struct TALER_TESTING_Command
-TALER_TESTING_cmd_bank_history_range (const char *label,
- const char *bank_url,
- uint64_t account_no,
- enum TALER_BANK_Direction direction,
- unsigned int ascending,
- const char *start_row_reference,
- const char *end_row_reference);
-
-
-/**
* Create a "reject" CMD.
*
* @param label command label.