summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 1b55ecd6..e7c53a62 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -5919,7 +5919,7 @@ postgres_authorize_tip (void *cls,
const struct TALER_Amount *amount,
const char *justification,
const char *next_url,
- struct GNUNET_HashCode *tip_id,
+ struct TALER_TipIdentifierP *tip_id,
struct GNUNET_TIME_Timestamp *expiration)
{
struct PostgresClosure *pg = cls;
@@ -6196,8 +6196,8 @@ lookup_signatures_cb (void *cls,
static enum GNUNET_DB_QueryStatus
postgres_lookup_pickup (void *cls,
const char *instance_id,
- const struct GNUNET_HashCode *tip_id,
- const struct GNUNET_HashCode *pickup_id,
+ const struct TALER_TipIdentifierP *tip_id,
+ const struct TALER_PickupIdentifierP *pickup_id,
char **exchange_url,
struct TALER_ReservePrivateKeyP *reserve_priv,
unsigned int sigs_length,
@@ -6266,7 +6266,7 @@ postgres_lookup_pickup (void *cls,
static enum GNUNET_DB_QueryStatus
postgres_lookup_tip (void *cls,
const char *instance_id,
- const struct GNUNET_HashCode *tip_id,
+ const struct TALER_TipIdentifierP *tip_id,
struct TALER_Amount *total_authorized,
struct TALER_Amount *total_picked_up,
struct GNUNET_TIME_Timestamp *expiration,
@@ -6346,7 +6346,7 @@ lookup_tips_cb (void *cls,
for (unsigned int i = 0; i < num_results; i++)
{
uint64_t row_id;
- struct GNUNET_HashCode tip_id;
+ struct TALER_TipIdentifierP tip_id;
struct TALER_Amount tip_amount;
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_uint64 ("tip_serial",
@@ -6533,7 +6533,7 @@ lookup_pickup_details_cb (void *cls,
static enum GNUNET_DB_QueryStatus
postgres_lookup_tip_details (void *cls,
const char *instance_id,
- const struct GNUNET_HashCode *tip_id,
+ const struct TALER_TipIdentifierP *tip_id,
bool fpu,
struct TALER_Amount *total_authorized,
struct TALER_Amount *total_picked_up,
@@ -6629,9 +6629,9 @@ postgres_lookup_tip_details (void *cls,
static enum GNUNET_DB_QueryStatus
postgres_insert_pickup (void *cls,
const char *instance_id,
- const struct GNUNET_HashCode *tip_id,
+ const struct TALER_TipIdentifierP *tip_id,
const struct TALER_Amount *total_picked_up,
- const struct GNUNET_HashCode *pickup_id,
+ const struct TALER_PickupIdentifierP *pickup_id,
const struct TALER_Amount *total_requested)
{
struct PostgresClosure *pg = cls;
@@ -6733,7 +6733,7 @@ postgres_insert_pickup (void *cls,
static enum GNUNET_DB_QueryStatus
postgres_insert_pickup_blind_signature (
void *cls,
- const struct GNUNET_HashCode *pickup_id,
+ const struct TALER_PickupIdentifierP *pickup_id,
uint32_t offset,
const struct TALER_BlindedDenominationSignature *blind_sig)
{