- fix coverity
[oweals/gnunet.git] / src / scalarproduct / scalarproduct.h
index bcd2d682124eb48f2980b1a987be5d9a252c1c13..a7ffefbde262d71278ff88b33f1227b4370545a7 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2009, 2010, 2011, 2012, 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009, 2010, 2011, 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
 
      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., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
+     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+     Boston, MA 02110-1301, USA.
 */
 /**
  * @file   scalarproduct.h
- * @brief  Scalar Product Message Types
+ * @brief  Scalar Product API Message Types
  * @author Christian M. Fuchs
  */
 #ifndef SCALARPRODUCT_H
@@ -119,7 +119,7 @@ struct BobComputationMessage
 /**
  * multipart messages following `struct ComputationMessage`
  */
-struct ComputationMultipartMessage
+struct ComputationBobCryptodataMultipartMessage
 {
   /**
    * GNUNET message header
@@ -154,9 +154,10 @@ struct ClientResponseMessage
   uint32_t product_length GNUNET_PACKED;
 
   /**
-   * status information about the outcome of this session
+   * Status information about the outcome of this session,
+   * An `enum GNUNET_SCALARPRODUCT_ResponseStatus` (in NBO).
    */
-  int32_t status GNUNET_PACKED;
+  uint32_t status GNUNET_PACKED;
 
   /**
    * Workaround for libgcrypt: -1 if negative, 0 if zero, else 1
@@ -171,4 +172,3 @@ struct ClientResponseMessage
 GNUNET_NETWORK_STRUCT_END
 
 #endif /* SCALARPRODUCT_H */
-