gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: expand irbt templates


From: gnunet
Subject: [taler-exchange] branch master updated: expand irbt templates
Date: Sun, 10 Jan 2021 17:07:11 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new bee612e2 expand irbt templates
bee612e2 is described below

commit bee612e2efc0545307b365bf4a5feae3fa3c03c7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 10 17:07:09 2021 +0100

    expand irbt templates
---
 src/exchangedb/irbt_callbacks.c | 189 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 189 insertions(+)

diff --git a/src/exchangedb/irbt_callbacks.c b/src/exchangedb/irbt_callbacks.c
index d9429509..c7f185e3 100644
--- a/src/exchangedb/irbt_callbacks.c
+++ b/src/exchangedb/irbt_callbacks.c
@@ -37,6 +37,15 @@ irbt_cb_table_denominations (struct PostgresClosure *pg,
                              struct TALER_EXCHANGEDB_Session *session,
                              const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -53,6 +62,15 @@ irbt_cb_table_denomination_revocations (struct 
PostgresClosure *pg,
                                         const struct
                                         TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -68,6 +86,15 @@ irbt_cb_table_reserves (struct PostgresClosure *pg,
                         struct TALER_EXCHANGEDB_Session *session,
                         const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -83,6 +110,15 @@ irbt_cb_table_reserves_in (struct PostgresClosure *pg,
                            struct TALER_EXCHANGEDB_Session *session,
                            const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -98,6 +134,15 @@ irbt_cb_table_reserves_close (struct PostgresClosure *pg,
                               struct TALER_EXCHANGEDB_Session *session,
                               const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -113,6 +158,15 @@ irbt_cb_table_reserves_out (struct PostgresClosure *pg,
                             struct TALER_EXCHANGEDB_Session *session,
                             const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -128,6 +182,15 @@ irbt_cb_table_auditors (struct PostgresClosure *pg,
                         struct TALER_EXCHANGEDB_Session *session,
                         const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -143,6 +206,15 @@ irbt_cb_table_auditor_denom_sigs (struct PostgresClosure 
*pg,
                                   struct TALER_EXCHANGEDB_Session *session,
                                   const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -158,6 +230,15 @@ irbt_cb_table_exchange_sign_keys (struct PostgresClosure 
*pg,
                                   struct TALER_EXCHANGEDB_Session *session,
                                   const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -173,6 +254,15 @@ irbt_cb_table_signkey_revocations (struct PostgresClosure 
*pg,
                                    struct TALER_EXCHANGEDB_Session *session,
                                    const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -188,6 +278,15 @@ irbt_cb_table_known_coins (struct PostgresClosure *pg,
                            struct TALER_EXCHANGEDB_Session *session,
                            const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -203,6 +302,15 @@ irbt_cb_table_refresh_commitments (struct PostgresClosure 
*pg,
                                    struct TALER_EXCHANGEDB_Session *session,
                                    const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -219,6 +327,15 @@ irbt_cb_table_refresh_revealed_coins (struct 
PostgresClosure *pg,
                                       const struct
                                       TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -235,6 +352,15 @@ irbt_cb_table_refresh_transfer_keys (struct 
PostgresClosure *pg,
                                      const struct
                                      TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -250,6 +376,15 @@ irbt_cb_table_deposits (struct PostgresClosure *pg,
                         struct TALER_EXCHANGEDB_Session *session,
                         const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -265,6 +400,15 @@ irbt_cb_table_refunds (struct PostgresClosure *pg,
                        struct TALER_EXCHANGEDB_Session *session,
                        const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -280,6 +424,15 @@ irbt_cb_table_wire_out (struct PostgresClosure *pg,
                         struct TALER_EXCHANGEDB_Session *session,
                         const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -295,6 +448,15 @@ irbt_cb_table_aggregation_tracking (struct PostgresClosure 
*pg,
                                     struct TALER_EXCHANGEDB_Session *session,
                                     const struct TALER_EXCHANGEDB_TableData 
*td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -310,6 +472,15 @@ irbt_cb_table_wire_fee (struct PostgresClosure *pg,
                         struct TALER_EXCHANGEDB_Session *session,
                         const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -325,6 +496,15 @@ irbt_cb_table_recoup (struct PostgresClosure *pg,
                       struct TALER_EXCHANGEDB_Session *session,
                       const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 
@@ -340,6 +520,15 @@ irbt_cb_table_recoup_refresh (struct PostgresClosure *pg,
                               struct TALER_EXCHANGEDB_Session *session,
                               const struct TALER_EXCHANGEDB_TableData *td)
 {
+  struct GNUNET_PQ_QueryParam params[] = {
+    GNUNET_PQ_query_param_uint64 (&td->serial),
+    GNUNET_PQ_query_param_end
+  };
+
+  (void) pg;
+  return GNUNET_PQ_eval_prepared_non_select (session->conn,
+                                             "insert_into_table_",
+                                             params);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]