/*
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
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.
*/
/**
*/
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
};
struct GNUNET_HashCode key;
/**
- * Value to multiply in scalar product.
+ * Value to multiply in scalar product, in NBO.
*/
int64_t value GNUNET_PACKED;
};