[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] 02/03: [header] some changes on charity get
From: |
gnunet |
Subject: |
[taler-donau] 02/03: [header] some changes on charity get |
Date: |
Mon, 15 Jan 2024 10:41:21 +0100 |
This is an automated email from the git hooks/post-receive script.
lukas-matyja pushed a commit to branch master
in repository donau.
commit 58047a5cc2d7ad5006a94690fc9b249b6062bb15
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Mon Jan 15 10:41:39 2024 +0100
[header] some changes on charity get
---
src/include/donau_service.h | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/src/include/donau_service.h b/src/include/donau_service.h
index 38910b5..16bfeb2 100644
--- a/src/include/donau_service.h
+++ b/src/include/donau_service.h
@@ -792,7 +792,7 @@ DONAU_csr_batch_issue_cancel (
/**
* A Charity
*/
-struct CharitySummary
+struct DONAU_CharitySummary
{
/**
* charity id
@@ -850,7 +850,7 @@ struct DONAU_GetCharitiesResponse
/**
* Charity status information.
*/
- struct CharitySummary *charity;
+ struct DONAU_CharitySummary *charity;
/**
* Number of charities
@@ -915,7 +915,7 @@ DONAU_charities_get_cancel (
/* ********************* GET /charities/$CHARITY_ID *********************** */
-struct CharityHistoryYear
+struct DONAU_CharityHistoryYear
{
/**
* year
@@ -932,13 +932,8 @@ struct CharityHistoryYear
/**
* information of a charity
*/
-struct Charity
+struct DONAU_Charity
{
- /**
- * Charity id
- */
- uint64_t charity_id;
-
/**
* name of the charity
*/
@@ -957,12 +952,12 @@ struct Charity
/**
* donation history
*/
- struct CharityHistoryYear *donation_history;
+ struct DONAU_CharityHistoryYear *donation_history;
/**
* number of charity history years
*/
- unsigned int num_hist;
+ uint32_t num_hist;
};
@@ -1000,7 +995,7 @@ struct DONAU_GetCharityResponse
/**
* Charity status information.
*/
- struct Charity charity;
+ struct DONAU_Charity *charity;
} ok;
@@ -1044,8 +1039,9 @@ struct DONAU_CharityGetHandle *
DONAU_charity_get (
struct GNUNET_CURL_Context *ctx,
const char *url,
- const struct DONAU_BearerToken bearer,
const uint64_t id,
+ const struct DONAU_BearerToken bearer,
+ struct GNUNET_TIME_Relative timeout,
DONAU_GetCharityResponseCallback cb,
void *cb_cls);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.