From 93cd93a1330fb38add615f797ac9a87fc252ff98 Mon Sep 17 00:00:00 2001 From: Andreas Ebner Date: Sat, 3 Aug 2019 13:01:22 +0200 Subject: Updated fw/bw algo, collect, and verify (still some things left to do) - collect/verify now use delegate instead of credential - parameter in api messages to indicate the direction of the resolution - fw algo sets delegation_chain and ref_count on solution find - namestore lookup instead of iteration to get all delegates from starting/goal subject --- src/credential/credential.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/credential/credential.h') diff --git a/src/credential/credential.h b/src/credential/credential.h index 9de137275..97fdfecbf 100644 --- a/src/credential/credential.h +++ b/src/credential/credential.h @@ -29,6 +29,8 @@ GNUNET_NETWORK_STRUCT_BEGIN +enum direction{Backward, Forward, Bidirectional}; + /** * Message from client to Credential service to collect credentials. */ @@ -54,6 +56,11 @@ struct CollectMessage */ uint16_t issuer_attribute_len; + /** + * Direction of the resolution algo + */ + uint16_t resolution_algo; + /** * Unique identifier for this request (for key collisions). */ @@ -93,6 +100,11 @@ struct VerifyMessage */ uint16_t issuer_attribute_len; + /** + * Direction of the resolution algo + */ + uint16_t resolution_algo; + /** * Unique identifier for this request (for key collisions). */ -- cgit v1.2.3