summaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_ats_plugin.h')
-rw-r--r--src/include/gnunet_ats_plugin.h40
1 files changed, 17 insertions, 23 deletions
diff --git a/src/include/gnunet_ats_plugin.h b/src/include/gnunet_ats_plugin.h
index da00f277c..e2f052678 100644
--- a/src/include/gnunet_ats_plugin.h
+++ b/src/include/gnunet_ats_plugin.h
@@ -1,19 +1,19 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2009-2015 GNUnet e.V. 3 Copyright (C) 2009-2015 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation, either version 3 of the License, 7 by the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version. 8 or (at your option) any later version.
9 9
10 GNUnet is distributed in the hope that it will be useful, but 10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19 */ 19 */
@@ -163,9 +163,7 @@ typedef void
163 * Each solver is required to set up and return an instance 163 * Each solver is required to set up and return an instance
164 * of this struct during initialization. 164 * of this struct during initialization.
165 */ 165 */
166struct GNUNET_ATS_SolverFunctions 166struct GNUNET_ATS_SolverFunctions {
167{
168
169 /** 167 /**
170 * Closure to pass to all solver functions in this struct. 168 * Closure to pass to all solver functions in this struct.
171 */ 169 */
@@ -248,8 +246,7 @@ struct GNUNET_ATS_SolverFunctions
248 * #GAS_OP_SOLVE_UPDATE_NOTIFICATION_STOP 246 * #GAS_OP_SOLVE_UPDATE_NOTIFICATION_STOP
249 * 247 *
250 */ 248 */
251enum GAS_Solver_Operation 249enum GAS_Solver_Operation {
252{
253 /** 250 /**
254 * A solution iteration has been started 251 * A solution iteration has been started
255 */ 252 */
@@ -311,8 +308,7 @@ enum GAS_Solver_Operation
311/** 308/**
312 * Status of a GAS_Solver_Operation operation 309 * Status of a GAS_Solver_Operation operation
313 */ 310 */
314enum GAS_Solver_Status 311enum GAS_Solver_Status {
315{
316 /** 312 /**
317 * Success 313 * Success
318 */ 314 */
@@ -328,8 +324,7 @@ enum GAS_Solver_Status
328/** 324/**
329 * Status of the operation 325 * Status of the operation
330 */ 326 */
331enum GAS_Solver_Additional_Information 327enum GAS_Solver_Additional_Information {
332{
333 /** 328 /**
334 * No more specific information 329 * No more specific information
335 */ 330 */
@@ -416,8 +411,7 @@ typedef unsigned int
416 * of this type as to the initialization function 411 * of this type as to the initialization function
417 * of the ATS plugins. 412 * of the ATS plugins.
418 */ 413 */
419struct GNUNET_ATS_PluginEnvironment 414struct GNUNET_ATS_PluginEnvironment {
420{
421 /** 415 /**
422 * Configuration handle to be used by the solver 416 * Configuration handle to be used by the solver
423 */ 417 */