X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_scalarproduct_service.h;h=21e00ca10666676eba9c482695e10b1213c0fca1;hb=4ffa88828d1f14aeef51a777d553e904549fb03e;hp=02920abd30d2a0f6f6775e9a9043ddf2cde584d0;hpb=c2d9d1e64c9801122caaa6b429fc67706db5c9d7;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_scalarproduct_service.h b/src/include/gnunet_scalarproduct_service.h index 02920abd3..21e00ca10 100644 --- a/src/include/gnunet_scalarproduct_service.h +++ b/src/include/gnunet_scalarproduct_service.h @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2013, 2014 Christian Grothoff (and other contributing authors) + Copyright (C) 2013, 2014 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 @@ -14,15 +14,20 @@ 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 include/gnunet_scalarproduct_service.h - * @brief API to the scalarproduct service * @author Christian M. Fuchs * @author Gaurav Kukreja + * + * @file + * API to the scalarproduct service + * + * @defgroup scalarproduct Scalar Product service + * + * @{ */ #ifndef GNUNET_SCALARPRODUCT_SERVICE_H #define GNUNET_SCALARPRODUCT_SERVICE_H @@ -50,7 +55,12 @@ enum GNUNET_SCALARPRODUCT_ResponseStatus /** * Operation is still active (never returned, used internally). */ - GNUNET_SCALARPRODUCT_STATUS_ACTIVE = 0, + GNUNET_SCALARPRODUCT_STATUS_INIT = 0, + + /** + * Operation is still active (never returned, used internally). + */ + GNUNET_SCALARPRODUCT_STATUS_ACTIVE = 1, /** * The computation was successful. @@ -183,6 +193,7 @@ GNUNET_SCALARPRODUCT_accept_computation (const struct GNUNET_CONFIGURATION_Handl void GNUNET_SCALARPRODUCT_cancel (struct GNUNET_SCALARPRODUCT_ComputationHandle *h); + #if 0 /* keep Emacsens' auto-indent happy */ { #endif @@ -191,3 +202,5 @@ GNUNET_SCALARPRODUCT_cancel (struct GNUNET_SCALARPRODUCT_ComputationHandle *h); #endif #endif + +/** @} */ /* end of group */