aboutsummaryrefslogtreecommitdiff
path: root/src/service/dht/plugin_dhtu_gnunet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/dht/plugin_dhtu_gnunet.h')
-rw-r--r--src/service/dht/plugin_dhtu_gnunet.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/service/dht/plugin_dhtu_gnunet.h b/src/service/dht/plugin_dhtu_gnunet.h
new file mode 100644
index 000000000..a4a594742
--- /dev/null
+++ b/src/service/dht/plugin_dhtu_gnunet.h
@@ -0,0 +1,44 @@
1/*
2 This file is part of GNUnet
3 Copyright (C) 2024 GNUnet e.V.
4
5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details.
14
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/>.
17
18 SPDX-License-Identifier: AGPL3.0-or-later
19 */
20
21#ifndef PLUGIN_DHTU_GNUNET_H
22#define PLUGIN_DHTU_GNUNET_H
23#include "gnunet_dhtu_plugin.h"
24
25/**
26 * Exit point from the plugin.
27 *
28 * @param cls closure (our `struct Plugin`)
29 * @return NULL
30 */
31void *
32DHTU_gnunet_done (struct GNUNET_DHTU_PluginFunctions *p);
33
34
35/**
36 * Entry point for the plugin.
37 *
38 * @param cls closure (the `struct GNUNET_DHTU_PluginEnvironment`)
39 * @return the plugin's API
40 */
41struct GNUNET_DHTU_PluginFunctions *
42DHTU_gnunet_init (struct GNUNET_DHTU_PluginEnvironment *e);
43
44#endif