summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r--src/transport/gnunet-service-transport_plugins.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h
index cfb72dfed..2b6f6f070 100644
--- a/src/transport/gnunet-service-transport_plugins.h
+++ b/src/transport/gnunet-service-transport_plugins.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 * @file transport/gnunet-service-transport_plugins.h 22 * @file transport/gnunet-service-transport_plugins.h
@@ -49,16 +49,16 @@
49 * @param metric_update_cb function to call when address metrics change 49 * @param metric_update_cb function to call when address metrics change
50 */ 50 */
51void 51void
52GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb, 52GST_plugins_load(GNUNET_TRANSPORT_PluginReceiveCallback recv_cb,
53 GNUNET_TRANSPORT_AddressNotification address_cb, 53 GNUNET_TRANSPORT_AddressNotification address_cb,
54 GNUNET_TRANSPORT_SessionStart session_start_cb, 54 GNUNET_TRANSPORT_SessionStart session_start_cb,
55 GNUNET_TRANSPORT_SessionEnd session_end_cb); 55 GNUNET_TRANSPORT_SessionEnd session_end_cb);
56 56
57/** 57/**
58 * Unload all plugins 58 * Unload all plugins
59 */ 59 */
60void 60void
61GST_plugins_unload (void); 61GST_plugins_unload(void);
62 62
63 63
64/** 64/**
@@ -68,7 +68,7 @@ GST_plugins_unload (void);
68 * @return the plugin's API, NULL if the plugin is not loaded 68 * @return the plugin's API, NULL if the plugin is not loaded
69 */ 69 */
70struct GNUNET_TRANSPORT_PluginFunctions * 70struct GNUNET_TRANSPORT_PluginFunctions *
71GST_plugins_find (const char *name); 71GST_plugins_find(const char *name);
72 72
73 73
74/** 74/**
@@ -82,7 +82,7 @@ GST_plugins_find (const char *name);
82 * @return the plugin's API, NULL if the plugin is not loaded 82 * @return the plugin's API, NULL if the plugin is not loaded
83 */ 83 */
84struct GNUNET_TRANSPORT_PluginFunctions * 84struct GNUNET_TRANSPORT_PluginFunctions *
85GST_plugins_printer_find (const char *name); 85GST_plugins_printer_find(const char *name);
86 86
87 87
88/** 88/**
@@ -93,7 +93,7 @@ GST_plugins_printer_find (const char *name);
93 * @return statically allocated (!) human-readable address 93 * @return statically allocated (!) human-readable address
94 */ 94 */
95const char * 95const char *
96GST_plugins_a2s (const struct GNUNET_HELLO_Address *address); 96GST_plugins_a2s(const struct GNUNET_HELLO_Address *address);
97 97
98 98
99/** 99/**
@@ -103,8 +103,8 @@ GST_plugins_a2s (const struct GNUNET_HELLO_Address *address);
103 * @param cb_cls closure for @a cb 103 * @param cb_cls closure for @a cb
104 */ 104 */
105void 105void
106GST_plugins_monitor_subscribe (GNUNET_TRANSPORT_SessionInfoCallback cb, 106GST_plugins_monitor_subscribe(GNUNET_TRANSPORT_SessionInfoCallback cb,
107 void *cb_cls); 107 void *cb_cls);
108 108
109 109
110#endif 110#endif