summaryrefslogtreecommitdiff
path: root/src/wire
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-22 19:09:55 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-22 19:09:55 +0200
commit95e52cd2e824f3e1e5e1c3537f11c2dd960dd9e5 (patch)
tree77af4123a71450f2da4d62f13c1a88a18b8d1e3f /src/wire
parent9507c8c369c8ac56ae309b9b6132dd6213539e21 (diff)
downloadexchange-95e52cd2e824f3e1e5e1c3537f11c2dd960dd9e5.tar.gz
exchange-95e52cd2e824f3e1e5e1c3537f11c2dd960dd9e5.tar.bz2
exchange-95e52cd2e824f3e1e5e1c3537f11c2dd960dd9e5.zip
make names related to wire plugins less generic
Diffstat (limited to 'src/wire')
-rw-r--r--src/wire/plugin_wire_template.c4
-rw-r--r--src/wire/plugin_wire_test.c8
-rw-r--r--src/wire/test_wire_plugin.conf2
-rw-r--r--src/wire/wire-sepa.conf6
-rw-r--r--src/wire/wire-test.conf6
5 files changed, 13 insertions, 13 deletions
diff --git a/src/wire/plugin_wire_template.c b/src/wire/plugin_wire_template.c
index 826d93185..3bdc3cea2 100644
--- a/src/wire/plugin_wire_template.c
+++ b/src/wire/plugin_wire_template.c
@@ -230,12 +230,12 @@ libtaler_plugin_wire_template_init (void *cls)
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
- "wire-template",
+ "exchange-wire-template",
"bank_uri",
&tc->bank_uri))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- "wire-template",
+ "exchange-wire-template",
"bank_uri");
GNUNET_free (tc);
return NULL;
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index 55d698172..80e5aaa8f 100644
--- a/src/wire/plugin_wire_test.c
+++ b/src/wire/plugin_wire_test.c
@@ -795,24 +795,24 @@ libtaler_plugin_wire_test_init (void *cls)
{
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
- "wire-outgoing-test",
+ "exchange-wire-outgoing-test",
"BANK_URI",
&tc->bank_uri))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- "wire-outgoing-test",
+ "exchange-wire-outgoing-test",
"BANK_URI");
GNUNET_free (tc);
return NULL;
}
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (cfg,
- "wire-outgoing-test",
+ "exchange-wire-outgoing-test",
"EXCHANGE_ACCOUNT_NUMBER",
&tc->exchange_account_outgoing_no))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- "wire-outgoing-test",
+ "exchange-wire-outgoing-test",
"EXCHANGE_ACCOUNT_NUMBER");
GNUNET_free (tc->bank_uri);
GNUNET_free (tc);
diff --git a/src/wire/test_wire_plugin.conf b/src/wire/test_wire_plugin.conf
index b9aebdba7..8f7e311a6 100644
--- a/src/wire/test_wire_plugin.conf
+++ b/src/wire/test_wire_plugin.conf
@@ -11,7 +11,7 @@ TEST_RESPONSE_FILE = test_wire_plugin_test.json
SEPA_RESPONSE_FILE = test_wire_plugin_sepa.json
-[wire-outgoing-test]
+[exchange-wire-outgoing-test]
# For transfers made by the exchange, we need to know
# the URI of the bank (where the /admin/add/incoming API
# is avaialble).
diff --git a/src/wire/wire-sepa.conf b/src/wire/wire-sepa.conf
index 7321a2be6..b7c09153f 100644
--- a/src/wire/wire-sepa.conf
+++ b/src/wire/wire-sepa.conf
@@ -1,10 +1,10 @@
# Configuration for SEPA wire plugin.
-[wire-incoming-sepa]
+[exchange-wire-incoming-sepa]
# This is the response we give out for the /wire request. It provides
# wallets with the bank information for transfers to the exchange.
-SEPA_RESPONSE_FILE = ${TALER_CONFIG_HOME}/sepa.json
+SEPA_RESPONSE_FILE = ${TALER_CONFIG_HOME}/exchange/wire/sepa.json
-[wire-outgoing-sepa]
+[exchange-wire-outgoing-sepa]
# This section should contain the options required for making outgoing
# SEPA transfers. Not yet supported (need libebics).
diff --git a/src/wire/wire-test.conf b/src/wire/wire-test.conf
index 98e486acb..fc03f1b83 100644
--- a/src/wire/wire-test.conf
+++ b/src/wire/wire-test.conf
@@ -1,11 +1,11 @@
# This file is in the public domain.
#
-[wire-incoming-test]
+[exchange-wire-incoming-test]
# This is the response we give out for the /wire request. It provides
# wallets with the bank information for transfers to the exchange.
-TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/test.json
+TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/exchange/wire/test.json
-[wire-outgoing-test]
+[exchange-wire-outgoing-test]
# For outgoing transfers, we need to know the exchange's
# account number at the bank.
EXCHANGE_ACCOUNT_NUMBER = 2