aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_plugin_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_plugin_lib.h')
-rw-r--r--src/include/gnunet_plugin_lib.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/gnunet_plugin_lib.h b/src/include/gnunet_plugin_lib.h
index bfcf1924f..67e6b5131 100644
--- a/src/include/gnunet_plugin_lib.h
+++ b/src/include/gnunet_plugin_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
@@ -66,7 +66,7 @@ typedef void *
66 * @return #GNUNET_YES if the plugin exists, #GNUNET_NO if not 66 * @return #GNUNET_YES if the plugin exists, #GNUNET_NO if not
67 */ 67 */
68int 68int
69GNUNET_PLUGIN_test (const char *library_name); 69GNUNET_PLUGIN_test(const char *library_name);
70 70
71 71
72/** 72/**
@@ -82,8 +82,8 @@ GNUNET_PLUGIN_test (const char *library_name);
82 * @return whatever the initialization function returned, NULL on error 82 * @return whatever the initialization function returned, NULL on error
83 */ 83 */
84void * 84void *
85GNUNET_PLUGIN_load (const char *library_name, 85GNUNET_PLUGIN_load(const char *library_name,
86 void *arg); 86 void *arg);
87 87
88 88
89/** 89/**
@@ -115,10 +115,10 @@ typedef void
115 * @param cb_cls closure for @a cb 115 * @param cb_cls closure for @a cb
116 */ 116 */
117void 117void
118GNUNET_PLUGIN_load_all (const char *basename, 118GNUNET_PLUGIN_load_all(const char *basename,
119 void *arg, 119 void *arg,
120 GNUNET_PLUGIN_LoaderCallback cb, 120 GNUNET_PLUGIN_LoaderCallback cb,
121 void *cb_cls); 121 void *cb_cls);
122 122
123 123
124/** 124/**
@@ -131,8 +131,8 @@ GNUNET_PLUGIN_load_all (const char *basename,
131 * or a "char *" representing the error message 131 * or a "char *" representing the error message
132 */ 132 */
133void * 133void *
134GNUNET_PLUGIN_unload (const char *library_name, 134GNUNET_PLUGIN_unload(const char *library_name,
135 void *arg); 135 void *arg);
136 136
137 137
138#if 0 /* keep Emacsens' auto-indent happy */ 138#if 0 /* keep Emacsens' auto-indent happy */