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_gnsrecord_plugin.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/include/gnunet_gnsrecord_plugin.h')
-rw-r--r-- | src/include/gnunet_gnsrecord_plugin.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/src/include/gnunet_gnsrecord_plugin.h b/src/include/gnunet_gnsrecord_plugin.h index cc10e3e7f..7ce1b22e6 100644 --- a/src/include/gnunet_gnsrecord_plugin.h +++ b/src/include/gnunet_gnsrecord_plugin.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 |
@@ -55,9 +55,9 @@ extern "C" | |||
55 | */ | 55 | */ |
56 | typedef char * | 56 | typedef char * |
57 | (*GNUNET_GNSRECORD_ValueToStringFunction) (void *cls, | 57 | (*GNUNET_GNSRECORD_ValueToStringFunction) (void *cls, |
58 | uint32_t type, | 58 | uint32_t type, |
59 | const void *data, | 59 | const void *data, |
60 | size_t data_size); | 60 | size_t data_size); |
61 | 61 | ||
62 | 62 | ||
63 | /** | 63 | /** |
@@ -74,10 +74,10 @@ typedef char * | |||
74 | */ | 74 | */ |
75 | typedef int | 75 | typedef int |
76 | (*GNUNET_GNSRECORD_StringToValueFunction) (void *cls, | 76 | (*GNUNET_GNSRECORD_StringToValueFunction) (void *cls, |
77 | uint32_t type, | 77 | uint32_t type, |
78 | const char *s, | 78 | const char *s, |
79 | void **data, | 79 | void **data, |
80 | size_t *data_size); | 80 | size_t *data_size); |
81 | 81 | ||
82 | 82 | ||
83 | /** | 83 | /** |
@@ -90,7 +90,7 @@ typedef int | |||
90 | */ | 90 | */ |
91 | typedef uint32_t | 91 | typedef uint32_t |
92 | (*GNUNET_GNSRECORD_TypenameToNumberFunction) (void *cls, | 92 | (*GNUNET_GNSRECORD_TypenameToNumberFunction) (void *cls, |
93 | const char *dns_typename); | 93 | const char *dns_typename); |
94 | 94 | ||
95 | 95 | ||
96 | /** | 96 | /** |
@@ -103,16 +103,14 @@ typedef uint32_t | |||
103 | */ | 103 | */ |
104 | typedef const char * | 104 | typedef const char * |
105 | (*GNUNET_GNSRECORD_NumberToTypenameFunction) (void *cls, | 105 | (*GNUNET_GNSRECORD_NumberToTypenameFunction) (void *cls, |
106 | uint32_t type); | 106 | uint32_t type); |
107 | 107 | ||
108 | 108 | ||
109 | /** | 109 | /** |
110 | * Each plugin is required to return a pointer to a struct of this | 110 | * Each plugin is required to return a pointer to a struct of this |
111 | * type as the return value from its entry point. | 111 | * type as the return value from its entry point. |
112 | */ | 112 | */ |
113 | struct GNUNET_GNSRECORD_PluginFunctions | 113 | struct GNUNET_GNSRECORD_PluginFunctions { |
114 | { | ||
115 | |||
116 | /** | 114 | /** |
117 | * Closure for all of the callbacks. | 115 | * Closure for all of the callbacks. |
118 | */ | 116 | */ |
@@ -137,7 +135,6 @@ struct GNUNET_GNSRECORD_PluginFunctions | |||
137 | * Number to typename. | 135 | * Number to typename. |
138 | */ | 136 | */ |
139 | GNUNET_GNSRECORD_NumberToTypenameFunction number_to_typename; | 137 | GNUNET_GNSRECORD_NumberToTypenameFunction number_to_typename; |
140 | |||
141 | }; | 138 | }; |
142 | 139 | ||
143 | /** @} */ /* end of group */ | 140 | /** @} */ /* end of group */ |