aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_auditordb_plugin.h6
-rw-r--r--src/include/taler_util.h14
2 files changed, 16 insertions, 4 deletions
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h
index dab35acbf..01ada58e4 100644
--- a/src/include/taler_auditordb_plugin.h
+++ b/src/include/taler_auditordb_plugin.h
@@ -768,7 +768,7 @@ struct TALER_AUDITORDB_WireFormatInconsistency
struct TALER_AUDITORDB_WireOutInconsistency
{
uint64_t row_id;
- char *destination_account;
+ struct TALER_FullPayto destination_account;
char *diagnostic;
uint64_t wire_out_row_id;
struct TALER_Amount expected;
@@ -1781,7 +1781,7 @@ struct TALER_AUDITORDB_Plugin
const struct TALER_ReservePublicKeyP *reserve_pub,
const struct TALER_AUDITORDB_ReserveFeeBalance *rfb,
struct GNUNET_TIME_Timestamp expiration_date,
- const char *origin_account);
+ const struct TALER_FullPayto origin_account);
/**
@@ -1820,7 +1820,7 @@ struct TALER_AUDITORDB_Plugin
uint64_t *rowid,
struct TALER_AUDITORDB_ReserveFeeBalance *rfb,
struct GNUNET_TIME_Timestamp *expiration_date,
- char **sender_account);
+ struct TALER_FullPayto *sender_account);
/**
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index c484e8294..a9d9d204a 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -382,7 +382,7 @@ TALER_url_valid_charset (const char *url);
/**
- * Compare two payto URIs for equality.
+ * Compare two full payto URIs for equality.
*
* @param a a full payto URI, NULL is permitted
* @param b a full payto URI, NULL is permitted
@@ -394,6 +394,18 @@ TALER_full_payto_cmp (const struct TALER_FullPayto a,
/**
+ * Compare two normalized payto URIs for equality.
+ *
+ * @param a a full payto URI, NULL is permitted
+ * @param b a full payto URI, NULL is permitted
+ * @return 0 if both are equal, otherwise -1 or 1
+ */
+int
+TALER_normalized_payto_cmp (const struct TALER_NormalizedPayto a,
+ const struct TALER_NormalizedPayto b);
+
+
+/**
* Test if the URL is a valid "http" (or "https")
* URL (includes test for #TALER_url_valid_charset()).
*