aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-19 14:22:08 +0000
committerChristian Grothoff <christian@grothoff.org>2016-03-19 14:22:08 +0000
commit157f9a2bc96a0b1594effe78158894e59e03a033 (patch)
tree9eff24cd15697096231d0c0392a32aa64f0d3882
parent53be7d1a6ed2b8d6724922b4de16eea47f84fbbd (diff)
downloadgnunet-157f9a2bc96a0b1594effe78158894e59e03a033.tar.gz
gnunet-157f9a2bc96a0b1594effe78158894e59e03a033.zip
-reindent
-rw-r--r--src/include/gnunet_plugin_lib.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/include/gnunet_plugin_lib.h b/src/include/gnunet_plugin_lib.h
index 5fe53ece4..b76b9f9cf 100644
--- a/src/include/gnunet_plugin_lib.h
+++ b/src/include/gnunet_plugin_lib.h
@@ -52,7 +52,8 @@ extern "C"
52 * shutdown or if there was an error, otherwise 52 * shutdown or if there was an error, otherwise
53 * the plugin's API on success 53 * the plugin's API on success
54 */ 54 */
55typedef void *(*GNUNET_PLUGIN_Callback) (void *arg); 55typedef void *
56(*GNUNET_PLUGIN_Callback) (void *arg);
56 57
57 58
58/** 59/**
@@ -81,7 +82,8 @@ GNUNET_PLUGIN_test (const char *library_name);
81 * @return whatever the initialization function returned, NULL on error 82 * @return whatever the initialization function returned, NULL on error
82 */ 83 */
83void * 84void *
84GNUNET_PLUGIN_load (const char *library_name, void *arg); 85GNUNET_PLUGIN_load (const char *library_name,
86 void *arg);
85 87
86 88
87/** 89/**
@@ -94,9 +96,10 @@ GNUNET_PLUGIN_load (const char *library_name, void *arg);
94 * of the library (same as what #GNUNET_PLUGIN_load would 96 * of the library (same as what #GNUNET_PLUGIN_load would
95 * have returned for the given library name) 97 * have returned for the given library name)
96 */ 98 */
97typedef void (*GNUNET_PLUGIN_LoaderCallback) (void *cls, 99typedef void
98 const char *library_name, 100(*GNUNET_PLUGIN_LoaderCallback) (void *cls,
99 void *lib_ret); 101 const char *library_name,
102 void *lib_ret);
100 103
101 104
102/** 105/**
@@ -112,8 +115,10 @@ typedef void (*GNUNET_PLUGIN_LoaderCallback) (void *cls,
112 * @param cb_cls closure for @a cb 115 * @param cb_cls closure for @a cb
113 */ 116 */
114void 117void
115GNUNET_PLUGIN_load_all (const char *basename, void *arg, 118GNUNET_PLUGIN_load_all (const char *basename,
116 GNUNET_PLUGIN_LoaderCallback cb, void *cb_cls); 119 void *arg,
120 GNUNET_PLUGIN_LoaderCallback cb,
121 void *cb_cls);
117 122
118 123
119/** 124/**
@@ -126,7 +131,8 @@ GNUNET_PLUGIN_load_all (const char *basename, void *arg,
126 * or a "char *" representing the error message 131 * or a "char *" representing the error message
127 */ 132 */
128void * 133void *
129GNUNET_PLUGIN_unload (const char *library_name, void *arg); 134GNUNET_PLUGIN_unload (const char *library_name,
135 void *arg);
130 136
131 137
132#if 0 /* keep Emacsens' auto-indent happy */ 138#if 0 /* keep Emacsens' auto-indent happy */