[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: indentation fix
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: indentation fix |
Date: |
Mon, 07 Sep 2020 16:05:37 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 7b09345 indentation fix
new a9b6e8f Merge branch 'master' of git+ssh://git.taler.net/anastasis
7b09345 is described below
commit 7b093457643981e66bec0563429b61e9e8b60b37
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Sep 7 16:05:32 2020 +0200
indentation fix
---
src/include/anastasis_service.h | 116 ++++++++++++++++++++--------------------
1 file changed, 58 insertions(+), 58 deletions(-)
diff --git a/src/include/anastasis_service.h b/src/include/anastasis_service.h
index f9a325c..93df99c 100644
--- a/src/include/anastasis_service.h
+++ b/src/include/anastasis_service.h
@@ -402,12 +402,12 @@ typedef void
* @return handle for this operation, NULL upon errors
*/
struct ANASTASIS_PolicyLookupOperation *
-ANASTASIS_policy_lookup (struct GNUNET_CURL_Context *ctx,
- const char *backend_url,
- const struct
- ANASTASIS_CRYPTO_AccountPublicKeyP *anastasis_pub,
- ANASTASIS_PolicyLookupCallback cb,
- void *cb_cls);
+ANASTASIS_policy_lookup (
+ struct GNUNET_CURL_Context *ctx,
+ const char *backend_url,
+ const struct ANASTASIS_CRYPTO_AccountPublicKeyP *anastasis_pub,
+ ANASTASIS_PolicyLookupCallback cb,
+ void *cb_cls);
/**
* Does a GET /policy for a specific version.
@@ -421,14 +421,13 @@ ANASTASIS_policy_lookup (struct GNUNET_CURL_Context *ctx,
* @return handle for this operation, NULL upon errors
*/
struct ANASTASIS_PolicyLookupOperation *
-ANASTASIS_policy_lookup_version (struct GNUNET_CURL_Context *ctx,
- const char *backend_url,
- const struct
- ANASTASIS_CRYPTO_AccountPublicKeyP *
- anastasis_pub,
- ANASTASIS_PolicyLookupCallback cb,
- void *cb_cls,
- uint32_t *version);
+ANASTASIS_policy_lookup_version (
+ struct GNUNET_CURL_Context *ctx,
+ const char *backend_url,
+ const struct ANASTASIS_CRYPTO_AccountPublicKeyP *anastasis_pub,
+ ANASTASIS_PolicyLookupCallback cb,
+ void *cb_cls,
+ uint32_t *version);
/**
* Cancel a GET /policy request.
@@ -436,8 +435,8 @@ ANASTASIS_policy_lookup_version (struct GNUNET_CURL_Context
*ctx,
* @param plo cancel the policy lookup operation
*/
void
-ANASTASIS_policy_lookup_cancel (struct
- ANASTASIS_PolicyLookupOperation *plo);
+ANASTASIS_policy_lookup_cancel (
+ struct ANASTASIS_PolicyLookupOperation *plo);
/**
@@ -478,18 +477,17 @@ typedef void
* @return handle for the operation
*/
struct ANASTASIS_PolicyStoreOperation *
-ANASTASIS_policy_store (struct GNUNET_CURL_Context *ctx,
- const char *backend_url,
- const struct
- ANASTASIS_CRYPTO_AccountPrivateKeyP *anastasis_priv,
- const struct
- GNUNET_HashCode *prev_recovery_data_hash,
- const void *recovery_data,
- size_t recovery_data_size,
- int payment_requested,
- const char *payment_order_id,
- ANASTASIS_PolicyStoreCallback cb,
- void *cb_cls);
+ANASTASIS_policy_store (
+ struct GNUNET_CURL_Context *ctx,
+ const char *backend_url,
+ const struct ANASTASIS_CRYPTO_AccountPrivateKeyP *anastasis_priv,
+ const struct GNUNET_HashCode *prev_recovery_data_hash,
+ const void *recovery_data,
+ size_t recovery_data_size,
+ int payment_requested,
+ const char *payment_order_id,
+ ANASTASIS_PolicyStoreCallback cb,
+ void *cb_cls);
/**
@@ -498,8 +496,8 @@ ANASTASIS_policy_store (struct GNUNET_CURL_Context *ctx,
* @param pso the policy store operation to cancel
*/
void
-ANASTASIS_policy_store_cancel (struct
- ANASTASIS_PolicyStoreOperation *pso);
+ANASTASIS_policy_store_cancel (
+ struct ANASTASIS_PolicyStoreOperation *pso);
/****** TRUTH API ******/
@@ -518,10 +516,10 @@ struct ANASTASIS_KeyShareLookupOperation;
* @param obj the response body
*/
typedef void
-(*ANASTASIS_KeyShareLookupCallback) (void *cls,
- unsigned int http_status,
- const struct
- ANASTASIS_KeyShareDownloadDetails *kdd);
+(*ANASTASIS_KeyShareLookupCallback) (
+ void *cls,
+ unsigned int http_status,
+ const struct ANASTASIS_KeyShareDownloadDetails *kdd);
/**
* Does a GET /truth.
@@ -536,14 +534,14 @@ typedef void
* @return handle for this operation, NULL upon errors
*/
struct ANASTASIS_KeyShareLookupOperation *
-ANASTASIS_keyshare_lookup (struct GNUNET_CURL_Context *ctx,
- const char *backend_url,
- const struct
- ANASTASIS_CRYPTO_TruthPublicKeyP *truth_public_key,
- const struct ANASTASIS_CRYPTO_TruthKeyP *truth_key,
- const struct GNUNET_HashCode *hashed_answer,
- ANASTASIS_KeyShareLookupCallback cb,
- void *cb_cls);
+ANASTASIS_keyshare_lookup (
+ struct GNUNET_CURL_Context *ctx,
+ const char *backend_url,
+ const struct ANASTASIS_CRYPTO_TruthPublicKeyP *truth_public_key,
+ const struct ANASTASIS_CRYPTO_TruthKeyP *truth_key,
+ const struct GNUNET_HashCode *hashed_answer,
+ ANASTASIS_KeyShareLookupCallback cb,
+ void *cb_cls);
/**
@@ -552,8 +550,8 @@ ANASTASIS_keyshare_lookup (struct GNUNET_CURL_Context *ctx,
* @param tlo cancel the truth lookup operation
*/
void
-ANASTASIS_keyshare_lookup_cancel (struct
- ANASTASIS_KeyShareLookupOperation *kslo);
+ANASTASIS_keyshare_lookup_cancel (
+ struct ANASTASIS_KeyShareLookupOperation *kslo);
/**
* Handle for a POST /truth operation.
@@ -574,6 +572,8 @@ typedef void
enum ANASTASIS_ErrorCode ec,
unsigned int http_status,
const struct ANASTASIS_UploadDetails *up);
+
+
/**
* Store Truth, does a POST /truth/$TRUTH_PUBLIC_KEY
*
@@ -589,15 +589,15 @@ typedef void
* @return handle for the operation
*/
struct ANASTASIS_TruthStoreOperation *
-ANASTASIS_truth_store (struct GNUNET_CURL_Context *ctx,
- const char *backend_url,
- const struct
- ANASTASIS_CRYPTO_TruthPublicKeyP *truth_public_key,
- json_t *truth_data,
- int payment_requested,
- const char *paid_order_id,
- ANASTASIS_TruthStoreCallback cb,
- void *cb_cls);
+ANASTASIS_truth_store (
+ struct GNUNET_CURL_Context *ctx,
+ const char *backend_url,
+ const struct ANASTASIS_CRYPTO_TruthPublicKeyP *truth_public_key,
+ json_t *truth_data,
+ int payment_requested,
+ const char *paid_order_id,
+ ANASTASIS_TruthStoreCallback cb,
+ void *cb_cls);
/**
* Cancel a POST /truth request.
@@ -605,8 +605,9 @@ ANASTASIS_truth_store (struct GNUNET_CURL_Context *ctx,
* @param tso the truth store operation
*/
void
-ANASTASIS_truth_store_cancel (struct
- ANASTASIS_TruthStoreOperation *tso);
+ANASTASIS_truth_store_cancel (
+ struct ANASTASIS_TruthStoreOperation *tso);
+
// FIXME IMPLEMENTATION
@@ -640,9 +641,8 @@ ANASTASIS_escrow_provider_inspect (const char *base_url,
* @param epi reference to the request
*/
void
-ANASTASIS_escrow_provider_inspect_cancel (struct
- ANASTASIS_EscrowProviderInspection *
- epi);
+ANASTASIS_escrow_provider_inspect_cancel (
+ struct ANASTASIS_EscrowProviderInspection *epi);
#endif /* _ANASTASIS_SERVICE_H */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: indentation fix,
gnunet <=