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_mst_lib.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/include/gnunet_mst_lib.h')
-rw-r--r-- | src/include/gnunet_mst_lib.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/gnunet_mst_lib.h b/src/include/gnunet_mst_lib.h index b048f94bc..2956ac24f 100644 --- a/src/include/gnunet_mst_lib.h +++ b/src/include/gnunet_mst_lib.h | |||
@@ -11,12 +11,12 @@ | |||
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 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
@@ -78,8 +78,8 @@ typedef int | |||
78 | * @return handle to tokenizer | 78 | * @return handle to tokenizer |
79 | */ | 79 | */ |
80 | struct GNUNET_MessageStreamTokenizer * | 80 | struct GNUNET_MessageStreamTokenizer * |
81 | GNUNET_MST_create (GNUNET_MessageTokenizerCallback cb, | 81 | GNUNET_MST_create(GNUNET_MessageTokenizerCallback cb, |
82 | void *cb_cls); | 82 | void *cb_cls); |
83 | 83 | ||
84 | 84 | ||
85 | /** | 85 | /** |
@@ -97,11 +97,11 @@ GNUNET_MST_create (GNUNET_MessageTokenizerCallback cb, | |||
97 | * #GNUNET_SYSERR if the data stream is corrupt | 97 | * #GNUNET_SYSERR if the data stream is corrupt |
98 | */ | 98 | */ |
99 | int | 99 | int |
100 | GNUNET_MST_from_buffer (struct GNUNET_MessageStreamTokenizer *mst, | 100 | GNUNET_MST_from_buffer(struct GNUNET_MessageStreamTokenizer *mst, |
101 | const char *buf, | 101 | const char *buf, |
102 | size_t size, | 102 | size_t size, |
103 | int purge, | 103 | int purge, |
104 | int one_shot); | 104 | int one_shot); |
105 | 105 | ||
106 | 106 | ||
107 | /** | 107 | /** |
@@ -119,10 +119,10 @@ GNUNET_MST_from_buffer (struct GNUNET_MessageStreamTokenizer *mst, | |||
119 | * #GNUNET_SYSERR if the data stream is corrupt | 119 | * #GNUNET_SYSERR if the data stream is corrupt |
120 | */ | 120 | */ |
121 | int | 121 | int |
122 | GNUNET_MST_read (struct GNUNET_MessageStreamTokenizer *mst, | 122 | GNUNET_MST_read(struct GNUNET_MessageStreamTokenizer *mst, |
123 | struct GNUNET_NETWORK_Handle *sock, | 123 | struct GNUNET_NETWORK_Handle *sock, |
124 | int purge, | 124 | int purge, |
125 | int one_shot); | 125 | int one_shot); |
126 | 126 | ||
127 | 127 | ||
128 | /** | 128 | /** |
@@ -137,8 +137,8 @@ GNUNET_MST_read (struct GNUNET_MessageStreamTokenizer *mst, | |||
137 | * #GNUNET_SYSERR if the data stream is corrupt | 137 | * #GNUNET_SYSERR if the data stream is corrupt |
138 | */ | 138 | */ |
139 | int | 139 | int |
140 | GNUNET_MST_next (struct GNUNET_MessageStreamTokenizer *mst, | 140 | GNUNET_MST_next(struct GNUNET_MessageStreamTokenizer *mst, |
141 | int one_shot); | 141 | int one_shot); |
142 | 142 | ||
143 | 143 | ||
144 | /** | 144 | /** |
@@ -147,7 +147,7 @@ GNUNET_MST_next (struct GNUNET_MessageStreamTokenizer *mst, | |||
147 | * @param mst tokenizer to destroy | 147 | * @param mst tokenizer to destroy |
148 | */ | 148 | */ |
149 | void | 149 | void |
150 | GNUNET_MST_destroy (struct GNUNET_MessageStreamTokenizer *mst); | 150 | GNUNET_MST_destroy(struct GNUNET_MessageStreamTokenizer *mst); |
151 | 151 | ||
152 | 152 | ||
153 | #if 0 /* keep Emacsens' auto-indent happy */ | 153 | #if 0 /* keep Emacsens' auto-indent happy */ |