multicast, psyc, psycstore, client_manager fixes
[oweals/gnunet.git] / src / include / gnunet_scalarproduct_service.h
index 9585fbe558c050fb07416501201202e3f65c04e4..d342370350f1e2882886258d4faedd5bd23bd1a8 100644 (file)
@@ -1,6 +1,6 @@
 /*
       This file is part of GNUnet.
-      (C) 2013, 2014 Christian Grothoff (and other contributing authors)
+      Copyright (C) 2013, 2014 Christian Grothoff (and other contributing authors)
 
       GNUnet is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published
@@ -14,8 +14,8 @@
 
       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.
  */
 
 /**
@@ -46,25 +46,31 @@ extern "C" {
  */
 enum GNUNET_SCALARPRODUCT_ResponseStatus
 {
+
+  /**
+   * Operation is still active (never returned, used internally).
+   */
+  GNUNET_SCALARPRODUCT_STATUS_ACTIVE = 0,
+
   /**
    * The computation was successful.
    */
-  GNUNET_SCALARPRODUCT_Status_Success = 0,
+  GNUNET_SCALARPRODUCT_STATUS_SUCCESS,
 
   /**
    * We encountered some error.
    */
-  GNUNET_SCALARPRODUCT_Status_Failure,
+  GNUNET_SCALARPRODUCT_STATUS_FAILURE,
 
   /**
    * We got an invalid response.
    */
-  GNUNET_SCALARPRODUCT_Status_InvalidResponse,
+  GNUNET_SCALARPRODUCT_STATUS_INVALID_RESPONSE,
 
   /**
    * We got disconnected from the SCALARPRODUCT service.
    */
-  GNUNET_SCALARPRODUCT_Status_ServiceDisconnected
+  GNUNET_SCALARPRODUCT_STATUS_DISCONNECTED
 };