first batch of license fixes (boring)
[oweals/gnunet.git] / src / cadet / gnunet-service-cadet_hello.h
1 /*
2      This file is part of GNUnet.
3      Copyright (C) 2014, 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_hello.h
18  * @brief cadet service; dealing with hello messages
19  * @author Bartlomiej Polot
20  * @author Christian Grothoff
21  *
22  * All functions in this file should use the prefix GCH (Gnunet Cadet Hello)
23  */
24
25 #ifndef GNUNET_SERVICE_CADET_HELLO_H
26 #define GNUNET_SERVICE_CADET_HELLO_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 "platform.h"
37 #include "gnunet_util_lib.h"
38 #include "gnunet_hello_lib.h"
39
40
41 /**
42  * Initialize the hello subsystem.
43  *
44  * @param c Configuration.
45  */
46 void
47 GCH_init (const struct GNUNET_CONFIGURATION_Handle *c);
48
49
50 /**
51  * Shut down the hello subsystem.
52  */
53 void
54 GCH_shutdown (void);
55
56
57 /**
58  * Get own hello message.
59  *
60  * @return Own hello message.
61  */
62 const struct GNUNET_HELLO_Message *
63 GCH_get_mine (void);
64
65
66 #if 0                           /* keep Emacsens' auto-indent happy */
67 {
68 #endif
69 #ifdef __cplusplus
70 }
71 #endif
72
73 /* ifndef GNUNET_CADET_SERVICE_HELLO_H */
74 #endif
75 /* end of gnunet-cadet-service_hello.h */