diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/include/gnunet_consensus_service.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/include/gnunet_consensus_service.h')
-rw-r--r-- | src/include/gnunet_consensus_service.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h index 19736f241..e864b5337 100644 --- a/src/include/gnunet_consensus_service.h +++ b/src/include/gnunet_consensus_service.h | |||
@@ -11,7 +11,7 @@ | |||
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 | ||
@@ -93,14 +93,14 @@ struct GNUNET_CONSENSUS_Handle; | |||
93 | * @return handle to use, NULL on error | 93 | * @return handle to use, NULL on error |
94 | */ | 94 | */ |
95 | struct GNUNET_CONSENSUS_Handle * | 95 | struct GNUNET_CONSENSUS_Handle * |
96 | GNUNET_CONSENSUS_create (const struct GNUNET_CONFIGURATION_Handle *cfg, | 96 | GNUNET_CONSENSUS_create(const struct GNUNET_CONFIGURATION_Handle *cfg, |
97 | unsigned int num_peers, | 97 | unsigned int num_peers, |
98 | const struct GNUNET_PeerIdentity *peers, | 98 | const struct GNUNET_PeerIdentity *peers, |
99 | const struct GNUNET_HashCode *session_id, | 99 | const struct GNUNET_HashCode *session_id, |
100 | struct GNUNET_TIME_Absolute start, | 100 | struct GNUNET_TIME_Absolute start, |
101 | struct GNUNET_TIME_Absolute deadline, | 101 | struct GNUNET_TIME_Absolute deadline, |
102 | GNUNET_CONSENSUS_ElementCallback new_element_cb, | 102 | GNUNET_CONSENSUS_ElementCallback new_element_cb, |
103 | void *new_element_cls); | 103 | void *new_element_cls); |
104 | 104 | ||
105 | 105 | ||
106 | /** | 106 | /** |
@@ -132,10 +132,10 @@ typedef void (*GNUNET_CONSENSUS_InsertDoneCallback) (void *cls, | |||
132 | * @param idc_cls closure for @a idc | 132 | * @param idc_cls closure for @a idc |
133 | */ | 133 | */ |
134 | void | 134 | void |
135 | GNUNET_CONSENSUS_insert (struct GNUNET_CONSENSUS_Handle *consensus, | 135 | GNUNET_CONSENSUS_insert(struct GNUNET_CONSENSUS_Handle *consensus, |
136 | const struct GNUNET_SET_Element *element, | 136 | const struct GNUNET_SET_Element *element, |
137 | GNUNET_CONSENSUS_InsertDoneCallback idc, | 137 | GNUNET_CONSENSUS_InsertDoneCallback idc, |
138 | void *idc_cls); | 138 | void *idc_cls); |
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||
@@ -156,9 +156,9 @@ typedef void (*GNUNET_CONSENSUS_ConcludeCallback) (void *cls); | |||
156 | * @param conclude_cls closure for the conclude callback | 156 | * @param conclude_cls closure for the conclude callback |
157 | */ | 157 | */ |
158 | void | 158 | void |
159 | GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus, | 159 | GNUNET_CONSENSUS_conclude(struct GNUNET_CONSENSUS_Handle *consensus, |
160 | GNUNET_CONSENSUS_ConcludeCallback conclude, | 160 | GNUNET_CONSENSUS_ConcludeCallback conclude, |
161 | void *conclude_cls); | 161 | void *conclude_cls); |
162 | 162 | ||
163 | 163 | ||
164 | /** | 164 | /** |
@@ -168,7 +168,7 @@ GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus, | |||
168 | * @param consensus handle to destroy | 168 | * @param consensus handle to destroy |
169 | */ | 169 | */ |
170 | void | 170 | void |
171 | GNUNET_CONSENSUS_destroy (struct GNUNET_CONSENSUS_Handle *consensus); | 171 | GNUNET_CONSENSUS_destroy(struct GNUNET_CONSENSUS_Handle *consensus); |
172 | 172 | ||
173 | 173 | ||
174 | #if 0 /* keep Emacsens' auto-indent happy */ | 174 | #if 0 /* keep Emacsens' auto-indent happy */ |