first batch of license fixes (boring)
[oweals/gnunet.git] / src / cadet / gnunet-service-cadet_core.h
1 /*
2      This file is part of GNUnet.
3      Copyright (C) 2017 GNUnet e.V.
4
5      GNUnet is free software: you can redistribute it and/or modify it
6      under the terms of the GNU 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
16 /**
17  * @file cadet/gnunet-service-cadet_core.h
18  * @brief cadet service; interaction with CORE service
19  * @author Bartlomiej Polot
20  * @author Christian Grothoff
21  *
22  * All functions in this file should use the prefix GCO (Gnunet Cadet cOre (bottom))
23  */
24
25 #ifndef GNUNET_SERVICE_CADET_CORE_H
26 #define GNUNET_SERVICE_CADET_CORE_H
27
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #if 0                           /* keep Emacsens' auto-indent happy */
32 }
33 #endif
34 #endif
35
36 #include "gnunet_util_lib.h"
37
38
39 /**
40  * Initialize the CORE subsystem.
41  *
42  * @param c Configuration.
43  */
44 void
45 GCO_init (const struct GNUNET_CONFIGURATION_Handle *c);
46
47
48 /**
49  * Shut down the CORE subsystem.
50  */
51 void
52 GCO_shutdown (void);
53
54
55 #if 0                           /* keep Emacsens' auto-indent happy */
56 {
57 #endif
58 #ifdef __cplusplus
59 }
60 #endif
61
62 /* ifndef GNUNET_CADET_SERVICE_CORE_H */
63 #endif
64 /* end of gnunet-cadet-service_core.h */