summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-05-23 20:46:51 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-05-23 20:46:51 +0200
commit67dd3171d01b36e7648061c22bdcfdf7c5028c3e (patch)
treee0ca1544e61022c691c2bb0942bd366e79be6b5a
parent5f6d706422048710c603aa0e3877417d99cae19f (diff)
downloadexchange-67dd3171d01b36e7648061c22bdcfdf7c5028c3e.tar.gz
exchange-67dd3171d01b36e7648061c22bdcfdf7c5028c3e.tar.bz2
exchange-67dd3171d01b36e7648061c22bdcfdf7c5028c3e.zip
using legal lib names
-rw-r--r--src/bank-lib/bank_api_admin.c4
-rw-r--r--src/include/teah_common.h4
-rw-r--r--src/lib/auditor_api_deposit_confirmation.c4
-rw-r--r--src/lib/exchange_api_deposit.c4
-rw-r--r--src/lib/exchange_api_payback.c4
-rw-r--r--src/lib/exchange_api_refresh.c8
-rw-r--r--src/lib/exchange_api_refund.c4
-rw-r--r--src/lib/exchange_api_reserve.c4
-rw-r--r--src/lib/exchange_api_track_transaction.c4
-rw-r--r--src/lib/teah_common.c4
10 files changed, 22 insertions, 22 deletions
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index 804da3f0..d9821a38 100644
--- a/src/bank-lib/bank_api_admin.c
+++ b/src/bank-lib/bank_api_admin.c
@@ -222,7 +222,7 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx,
eh = curl_easy_init ();
GNUNET_assert (GNUNET_OK ==
- TEAH_curl_easy_post (&aai->post_ctx, eh, admin_obj));
+ TALER_curl_easy_post (&aai->post_ctx, eh, admin_obj));
json_decref (admin_obj);
@@ -254,7 +254,7 @@ TALER_BANK_admin_add_incoming_cancel (struct TALER_BANK_AdminAddIncomingHandle *
GNUNET_CURL_job_cancel (aai->job);
aai->job = NULL;
}
- TEAH_curl_easy_post_finished (&aai->post_ctx);
+ TALER_curl_easy_post_finished (&aai->post_ctx);
GNUNET_free (aai->request_url);
GNUNET_free (aai);
}
diff --git a/src/include/teah_common.h b/src/include/teah_common.h
index c7231185..d4d24da4 100644
--- a/src/include/teah_common.h
+++ b/src/include/teah_common.h
@@ -60,7 +60,7 @@ struct TEAH_PostContext
* @return #GNUNET_OK on success #GNUNET_SYSERR on failure
*/
int
-TEAH_curl_easy_post (struct TEAH_PostContext *ctx,
+TALER_curl_easy_post (struct TEAH_PostContext *ctx,
CURL *eh,
const json_t *body);
@@ -71,7 +71,7 @@ TEAH_curl_easy_post (struct TEAH_PostContext *ctx,
* @param ctx[in] a request context (updated)
*/
void
-TEAH_curl_easy_post_finished (struct TEAH_PostContext *ctx);
+TALER_curl_easy_post_finished (struct TEAH_PostContext *ctx);
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c
index bb637797..f26339a6 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -344,7 +344,7 @@ TALER_AUDITOR_deposit_confirmation (struct TALER_AUDITOR_Handle *auditor,
CURLOPT_CUSTOMREQUEST,
"PUT"));
if (GNUNET_OK !=
- TEAH_curl_easy_post (&dh->ctx,
+ TALER_curl_easy_post (&dh->ctx,
eh,
deposit_confirmation_obj))
{
@@ -384,7 +384,7 @@ TALER_AUDITOR_deposit_confirmation_cancel (struct TALER_AUDITOR_DepositConfirmat
deposit_confirmation->job = NULL;
}
GNUNET_free (deposit_confirmation->url);
- TEAH_curl_easy_post_finished (&deposit_confirmation->ctx);
+ TALER_curl_easy_post_finished (&deposit_confirmation->ctx);
GNUNET_free (deposit_confirmation);
}
diff --git a/src/lib/exchange_api_deposit.c b/src/lib/exchange_api_deposit.c
index c5fdd7bd..06cb0d14 100644
--- a/src/lib/exchange_api_deposit.c
+++ b/src/lib/exchange_api_deposit.c
@@ -583,7 +583,7 @@ TALER_EXCHANGE_deposit (struct TALER_EXCHANGE_Handle *exchange,
eh = TEL_curl_easy_get (dh->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&dh->ctx,
+ TALER_curl_easy_post (&dh->ctx,
eh,
deposit_obj))
{
@@ -623,7 +623,7 @@ TALER_EXCHANGE_deposit_cancel (struct TALER_EXCHANGE_DepositHandle *deposit)
deposit->job = NULL;
}
GNUNET_free (deposit->url);
- TEAH_curl_easy_post_finished (&deposit->ctx);
+ TALER_curl_easy_post_finished (&deposit->ctx);
GNUNET_free (deposit);
}
diff --git a/src/lib/exchange_api_payback.c b/src/lib/exchange_api_payback.c
index 813cc70d..99b390b1 100644
--- a/src/lib/exchange_api_payback.c
+++ b/src/lib/exchange_api_payback.c
@@ -324,7 +324,7 @@ TALER_EXCHANGE_payback (struct TALER_EXCHANGE_Handle *exchange,
ph->url = TEAH_path_to_url (exchange, "/payback");
eh = TEL_curl_easy_get (ph->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&ph->ctx,
+ TALER_curl_easy_post (&ph->ctx,
eh,
payback_obj))
{
@@ -364,7 +364,7 @@ TALER_EXCHANGE_payback_cancel (struct TALER_EXCHANGE_PaybackHandle *ph)
ph->job = NULL;
}
GNUNET_free (ph->url);
- TEAH_curl_easy_post_finished (&ph->ctx);
+ TALER_curl_easy_post_finished (&ph->ctx);
GNUNET_free (ph);
}
diff --git a/src/lib/exchange_api_refresh.c b/src/lib/exchange_api_refresh.c
index d424015a..ec9c1d99 100644
--- a/src/lib/exchange_api_refresh.c
+++ b/src/lib/exchange_api_refresh.c
@@ -1208,7 +1208,7 @@ TALER_EXCHANGE_refresh_melt (struct TALER_EXCHANGE_Handle *exchange,
"/refresh/melt");
eh = TEL_curl_easy_get (rmh->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&rmh->ctx,
+ TALER_curl_easy_post (&rmh->ctx,
eh,
melt_obj))
{
@@ -1247,7 +1247,7 @@ TALER_EXCHANGE_refresh_melt_cancel (struct TALER_EXCHANGE_RefreshMeltHandle *rmh
free_melt_data (rmh->md); /* does not free 'md' itself */
GNUNET_free (rmh->md);
GNUNET_free (rmh->url);
- TEAH_curl_easy_post_finished (&rmh->ctx);
+ TALER_curl_easy_post_finished (&rmh->ctx);
GNUNET_free (rmh);
}
@@ -1638,7 +1638,7 @@ TALER_EXCHANGE_refresh_reveal (struct TALER_EXCHANGE_Handle *exchange,
eh = TEL_curl_easy_get (rrh->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&rrh->ctx,
+ TALER_curl_easy_post (&rrh->ctx,
eh,
reveal_obj))
{
@@ -1675,7 +1675,7 @@ TALER_EXCHANGE_refresh_reveal_cancel (struct TALER_EXCHANGE_RefreshRevealHandle
rrh->job = NULL;
}
GNUNET_free (rrh->url);
- TEAH_curl_easy_post_finished (&rrh->ctx);
+ TALER_curl_easy_post_finished (&rrh->ctx);
free_melt_data (rrh->md); /* does not free 'md' itself */
GNUNET_free (rrh->md);
GNUNET_free (rrh);
diff --git a/src/lib/exchange_api_refund.c b/src/lib/exchange_api_refund.c
index 1fd2c4f0..2b8585f9 100644
--- a/src/lib/exchange_api_refund.c
+++ b/src/lib/exchange_api_refund.c
@@ -370,7 +370,7 @@ refund_obj = json_pack ("{s:o, s:o," /* amount/fee */
eh = TEL_curl_easy_get (rh->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&rh->ctx,
+ TALER_curl_easy_post (&rh->ctx,
eh,
refund_obj))
{
@@ -410,7 +410,7 @@ TALER_EXCHANGE_refund_cancel (struct TALER_EXCHANGE_RefundHandle *refund)
refund->job = NULL;
}
GNUNET_free (refund->url);
- TEAH_curl_easy_post_finished (&refund->ctx);
+ TALER_curl_easy_post_finished (&refund->ctx);
GNUNET_free (refund);
}
diff --git a/src/lib/exchange_api_reserve.c b/src/lib/exchange_api_reserve.c
index d39d2c4c..9a4679d2 100644
--- a/src/lib/exchange_api_reserve.c
+++ b/src/lib/exchange_api_reserve.c
@@ -1031,7 +1031,7 @@ reserve_withdraw_internal (struct TALER_EXCHANGE_Handle *exchange,
wsh->url = TEAH_path_to_url (exchange, "/reserve/withdraw");
eh = TEL_curl_easy_get (wsh->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&wsh->ctx,
+ TALER_curl_easy_post (&wsh->ctx,
eh,
withdraw_obj))
{
@@ -1201,7 +1201,7 @@ TALER_EXCHANGE_reserve_withdraw_cancel (struct TALER_EXCHANGE_ReserveWithdrawHan
sign->job = NULL;
}
GNUNET_free (sign->url);
- TEAH_curl_easy_post_finished (&sign->ctx);
+ TALER_curl_easy_post_finished (&sign->ctx);
GNUNET_free (sign);
}
diff --git a/src/lib/exchange_api_track_transaction.c b/src/lib/exchange_api_track_transaction.c
index 59328b6a..1cc99dbb 100644
--- a/src/lib/exchange_api_track_transaction.c
+++ b/src/lib/exchange_api_track_transaction.c
@@ -324,7 +324,7 @@ TALER_EXCHANGE_track_transaction (struct TALER_EXCHANGE_Handle *exchange,
eh = TEL_curl_easy_get (dwh->url);
if (GNUNET_OK !=
- TEAH_curl_easy_post (&dwh->ctx,
+ TALER_curl_easy_post (&dwh->ctx,
eh,
deposit_wtid_obj))
{
@@ -361,7 +361,7 @@ TALER_EXCHANGE_track_transaction_cancel (struct TALER_EXCHANGE_TrackTransactionH
dwh->job = NULL;
}
GNUNET_free (dwh->url);
- TEAH_curl_easy_post_finished (&dwh->ctx);
+ TALER_curl_easy_post_finished (&dwh->ctx);
GNUNET_free (dwh);
}
diff --git a/src/lib/teah_common.c b/src/lib/teah_common.c
index f3e1cfeb..3a0b293a 100644
--- a/src/lib/teah_common.c
+++ b/src/lib/teah_common.c
@@ -40,7 +40,7 @@
* @return #GNUNET_OK on success #GNUNET_SYSERR on failure
*/
int
-TEAH_curl_easy_post (struct TEAH_PostContext *ctx,
+TALER_curl_easy_post (struct TEAH_PostContext *ctx,
CURL *eh,
const json_t *body)
{
@@ -109,7 +109,7 @@ TEAH_curl_easy_post (struct TEAH_PostContext *ctx,
* @param ctx[in] a request context (updated)
*/
void
-TEAH_curl_easy_post_finished (struct TEAH_PostContext *ctx)
+TALER_curl_easy_post_finished (struct TEAH_PostContext *ctx)
{
GNUNET_free_non_null (ctx->json_enc);
}