global reindent, now with uncrustify hook enabled
[oweals/gnunet.git] / src / credential / credential.h
index a76b493fe6de057435b2a36307ce86d886895365..3d76bbf4fb69d8492582d917a710ed44784bffaa 100644 (file)
@@ -3,7 +3,7 @@
       Copyright (C) 2012-2013 GNUnet e.V.
 
       GNUnet is free software: you can redistribute it and/or modify it
-      under the terms of the GNU General Public License as published
+      under the terms of the GNU Affero General Public License as published
       by the Free Software Foundation, either version 3 of the License,
       or (at your option) any later version.
 
       WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       Affero General Public License for more details.
+
+      You should have received a copy of the GNU Affero General Public License
+      along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
  */
 /**
  * @file credential/credential.h
@@ -55,7 +60,6 @@ struct CollectMessage
   uint32_t id GNUNET_PACKED;
 
   /* Followed by the zero-terminated attribute */
-
 };
 
 
@@ -95,7 +99,6 @@ struct VerifyMessage
   uint32_t id GNUNET_PACKED;
 
   /* Followed by the zero-terminated attribute and credentials to look up */
-
 };
 
 
@@ -105,7 +108,7 @@ struct VerifyMessage
 struct DelegationChainResultMessage
 {
   /**
-    * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY_RESULT
+   * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY_RESULT
    */
   struct GNUNET_MessageHeader header;
 
@@ -113,7 +116,7 @@ struct DelegationChainResultMessage
    * Unique identifier for this request (for key collisions).
    */
   uint32_t id GNUNET_PACKED;
-  
+
   /**
    * Indicates if credential has been found at all
    */
@@ -130,7 +133,6 @@ struct DelegationChainResultMessage
   uint32_t c_count GNUNET_PACKED;
 
   /* followed by ad_count GNUNET_CREDENTIAL_RecordData structs*/
-
 };
 
 struct DelegationRecordData
@@ -139,7 +141,7 @@ struct DelegationRecordData
    * Subject key
    */
   struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
-  
+
   /**
    * Subject attributes
    */
@@ -153,17 +155,17 @@ struct ChainEntry
    * Issuer key
    */
   struct GNUNET_CRYPTO_EcdsaPublicKey issuer_key;
-  
+
   /**
    * Subject key
    */
   struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
-  
+
   /**
    * Issuer attributes
    */
   uint32_t issuer_attribute_len GNUNET_PACKED;
-  
+
   /**
    * Subject attributes
    */
@@ -173,7 +175,6 @@ struct ChainEntry
 
 struct CredentialEntry
 {
-
   /**
    * The signature for this credential by the issuer
    */
@@ -198,7 +199,7 @@ struct CredentialEntry
    * Expiration time of this credential
    */
   uint64_t expiration GNUNET_PACKED;
-   
+
   /**
    * Issuer attribute length
    */
@@ -213,4 +214,3 @@ struct CredentialEntry
 GNUNET_NETWORK_STRUCT_END
 
 #endif
-