global reindent, now with uncrustify hook enabled
[oweals/gnunet.git] / src / credential / credential.h
index 66a4636fc73b1547d1225c1f64c8f3f906b5d2ea..3d76bbf4fb69d8492582d917a710ed44784bffaa 100644 (file)
@@ -2,20 +2,20 @@
       This file is part of GNUnet
       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
-      by the Free Software Foundation; either version 3, or (at your
-      option) any later version.
+      GNUnet is free software: you can redistribute it and/or modify it
+      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.
 
       GNUnet is distributed in the hope that it will be useful, but
       WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-      General Public License for more details.
+      Affero General Public License for more details.
 
-      You should have received a copy of the GNU General Public License
-      along with GNUnet; see the file COPYING.  If not, write to the
-      Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-      Boston, MA 02110-1301, USA.
+      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
@@ -60,7 +60,6 @@ struct CollectMessage
   uint32_t id GNUNET_PACKED;
 
   /* Followed by the zero-terminated attribute */
-
 };
 
 
@@ -100,7 +99,6 @@ struct VerifyMessage
   uint32_t id GNUNET_PACKED;
 
   /* Followed by the zero-terminated attribute and credentials to look up */
-
 };
 
 
@@ -110,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;
 
@@ -118,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
    */
@@ -135,7 +133,6 @@ struct DelegationChainResultMessage
   uint32_t c_count GNUNET_PACKED;
 
   /* followed by ad_count GNUNET_CREDENTIAL_RecordData structs*/
-
 };
 
 struct DelegationRecordData
@@ -144,7 +141,7 @@ struct DelegationRecordData
    * Subject key
    */
   struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
-  
+
   /**
    * Subject attributes
    */
@@ -158,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
    */
@@ -178,7 +175,6 @@ struct ChainEntry
 
 struct CredentialEntry
 {
-
   /**
    * The signature for this credential by the issuer
    */
@@ -203,7 +199,7 @@ struct CredentialEntry
    * Expiration time of this credential
    */
   uint64_t expiration GNUNET_PACKED;
-   
+
   /**
    * Issuer attribute length
    */
@@ -218,4 +214,3 @@ struct CredentialEntry
 GNUNET_NETWORK_STRUCT_END
 
 #endif
-