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.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/include/gnunet_plugin_lib.h b/src/include/gnunet_plugin_lib.h
index d265eb343..2a9cde47f 100644
--- a/src/include/gnunet_plugin_lib.h
+++ b/src/include/gnunet_plugin_lib.h
@@ -18,7 +18,15 @@
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19 */ 19 */
20 20
21#if !defined (__GNUNET_UTIL_LIB_H_INSIDE__)
22#error "Only <gnunet_util_lib.h> can be included directly."
23#endif
24
21/** 25/**
26 * @addtogroup libgnunetutil
27 * Multi-function utilities library for GNUnet programs
28 * @{
29 *
22 * @author Christian Grothoff 30 * @author Christian Grothoff
23 * 31 *
24 * @file 32 * @file
@@ -40,9 +48,6 @@ extern "C"
40#endif 48#endif
41#endif 49#endif
42 50
43#include "gnunet_common.h"
44#include "gnunet_configuration_lib.h"
45
46 51
47/** 52/**
48 * Signature of any function exported by a plugin. 53 * Signature of any function exported by a plugin.
@@ -65,7 +70,7 @@ typedef void *
65 * @param library_name name of the plugin to test if it is installed 70 * @param library_name name of the plugin to test if it is installed
66 * @return #GNUNET_YES if the plugin exists, #GNUNET_NO if not 71 * @return #GNUNET_YES if the plugin exists, #GNUNET_NO if not
67 */ 72 */
68int 73enum GNUNET_GenericReturnValue
69GNUNET_PLUGIN_test (const char *library_name); 74GNUNET_PLUGIN_test (const char *library_name);
70 75
71 76
@@ -169,4 +174,6 @@ GNUNET_PLUGIN_unload (const char *library_name,
169 174
170/** @} */ /* end of group */ 175/** @} */ /* end of group */
171 176
177/** @} */ /* end of group addition */
178
172/* end of gnunet_plugin_lib.h */ 179/* end of gnunet_plugin_lib.h */