* @author Nathan Evans
* @author Matthias Wachs
*/
+#ifndef PLUGIN_TRANSPORT_UDP_H
+#define PLUGIN_TRANSPORT_UDP_H
+
#include "platform.h"
#include "gnunet_hello_lib.h"
#include "gnunet_util_lib.h"
#define LOG(kind,...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__)
+#define PLUGIN_NAME "udp"
+
#define DEBUG_UDP GNUNET_NO
#define DEBUG_UDP_BROADCASTING GNUNET_NO
};
+struct UDP_MessageWrapper;
+
/**
* Encapsulation of all of the state of the plugin.
*/
int enable_ipv4;
+ /**
+ * Is broadcasting enabled: GNUNET_YES or GNUNET_NO
+ */
+ int enable_broadcasting;
+
+ /**
+ * Is receiving broadcasts enabled: GNUNET_YES or GNUNET_NO
+ */
+ int enable_broadcasting_receiving;
+
/**
* Port we broadcasting on.
*/
void
stop_broadcast (struct Plugin *plugin);
+/*#ifndef PLUGIN_TRANSPORT_UDP_H*/
+#endif
/* end of plugin_transport_udp.h */