diff options
Diffstat (limited to 'src/set/gnunet-service-set.h')
-rw-r--r-- | src/set/gnunet-service-set.h | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h index 19413fd30..a58b22995 100644 --- a/src/set/gnunet-service-set.h +++ b/src/set/gnunet-service-set.h | |||
@@ -2,20 +2,18 @@ | |||
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2013-2017 GNUnet e.V. | 3 | Copyright (C) 2013-2017 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | it under the terms of the GNU 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, or (at your | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | 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 | 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 General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with GNUnet; see the file COPYING. If not, write to the | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | ||
19 | */ | 17 | */ |
20 | /** | 18 | /** |
21 | * @file set/gnunet-service-set.h | 19 | * @file set/gnunet-service-set.h |
@@ -127,7 +125,7 @@ typedef struct OperationState * | |||
127 | * @param op operation that is created, should be initialized to | 125 | * @param op operation that is created, should be initialized to |
128 | * begin the evaluation | 126 | * begin the evaluation |
129 | * @param opaque_context message to be transmitted to the listener | 127 | * @param opaque_context message to be transmitted to the listener |
130 | * to convince him to accept, may be NULL | 128 | * to convince it to accept, may be NULL |
131 | * @return operation-specific state to keep in @a op | 129 | * @return operation-specific state to keep in @a op |
132 | */ | 130 | */ |
133 | typedef struct OperationState * | 131 | typedef struct OperationState * |
@@ -632,6 +630,15 @@ _GSS_operation_destroy (struct Operation *op, | |||
632 | 630 | ||
633 | 631 | ||
634 | /** | 632 | /** |
633 | * This function probably should not exist | ||
634 | * and be replaced by inlining more specific | ||
635 | * logic in the various places where it is called. | ||
636 | */ | ||
637 | void | ||
638 | _GSS_operation_destroy2 (struct Operation *op); | ||
639 | |||
640 | |||
641 | /** | ||
635 | * Get the table with implementing functions for set union. | 642 | * Get the table with implementing functions for set union. |
636 | * | 643 | * |
637 | * @return the operation specific VTable | 644 | * @return the operation specific VTable |