diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-03-19 14:22:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-03-19 14:22:08 +0000 |
commit | 157f9a2bc96a0b1594effe78158894e59e03a033 (patch) | |
tree | 9eff24cd15697096231d0c0392a32aa64f0d3882 | |
parent | 53be7d1a6ed2b8d6724922b4de16eea47f84fbbd (diff) | |
download | gnunet-157f9a2bc96a0b1594effe78158894e59e03a033.tar.gz gnunet-157f9a2bc96a0b1594effe78158894e59e03a033.zip |
-reindent
-rw-r--r-- | src/include/gnunet_plugin_lib.h | 22 |
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 | */ |
55 | typedef void *(*GNUNET_PLUGIN_Callback) (void *arg); | 55 | typedef 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 | */ |
83 | void * | 84 | void * |
84 | GNUNET_PLUGIN_load (const char *library_name, void *arg); | 85 | GNUNET_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 | */ |
97 | typedef void (*GNUNET_PLUGIN_LoaderCallback) (void *cls, | 99 | typedef 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 | */ |
114 | void | 117 | void |
115 | GNUNET_PLUGIN_load_all (const char *basename, void *arg, | 118 | GNUNET_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 | */ |
128 | void * | 133 | void * |
129 | GNUNET_PLUGIN_unload (const char *library_name, void *arg); | 134 | GNUNET_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 */ |