aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_http.h4
-rw-r--r--src/transport/plugin_transport_udp.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h
index 1ac2f9859..2fb827be3 100644
--- a/src/transport/plugin_transport_http.h
+++ b/src/transport/plugin_transport_http.h
@@ -23,6 +23,8 @@
23 * @brief http transport service plugin 23 * @brief http transport service plugin
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 */ 25 */
26#ifndef PLUGIN_TRANSPORT_HTTP_H
27#define PLUGIN_TRANSPORT_HTTP_H
26 28
27#include "platform.h" 29#include "platform.h"
28#include "gnunet_common.h" 30#include "gnunet_common.h"
@@ -579,4 +581,6 @@ void
579notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, 581notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
580 struct Session *s); 582 struct Session *s);
581 583
584/*#ifndef PLUGIN_TRANSPORT_HTTP_H*/
585#endif
582/* end of plugin_transport_http.h */ 586/* end of plugin_transport_http.h */
diff --git a/src/transport/plugin_transport_udp.h b/src/transport/plugin_transport_udp.h
index 1994fa5e2..62352f9fc 100644
--- a/src/transport/plugin_transport_udp.h
+++ b/src/transport/plugin_transport_udp.h
@@ -25,6 +25,9 @@
25 * @author Nathan Evans 25 * @author Nathan Evans
26 * @author Matthias Wachs 26 * @author Matthias Wachs
27 */ 27 */
28#ifndef PLUGIN_TRANSPORT_UDP_H
29#define PLUGIN_TRANSPORT_UDP_H
30
28#include "platform.h" 31#include "platform.h"
29#include "gnunet_hello_lib.h" 32#include "gnunet_hello_lib.h"
30#include "gnunet_util_lib.h" 33#include "gnunet_util_lib.h"
@@ -301,4 +304,6 @@ setup_broadcast (struct Plugin *plugin,
301void 304void
302stop_broadcast (struct Plugin *plugin); 305stop_broadcast (struct Plugin *plugin);
303 306
307/*#ifndef PLUGIN_TRANSPORT_UDP_H*/
308#endif
304/* end of plugin_transport_udp.h */ 309/* end of plugin_transport_udp.h */