binding to specific address
[oweals/gnunet.git] / src / transport / wlan / helper_common.h
index 71c3e1b9b04026cfef84dc3cd7a7859f36c11669..9d53176c6f9a3644cd1e8e34b5cbdaa10bd5ee4e 100644 (file)
@@ -8,8 +8,17 @@
 #ifndef HELPER_COMMON_H_
 #define HELPER_COMMON_H_
 
-int getFrequencyFromChannel(int channel);
-int getChannelFromFrequency(int frequency);
-int send_mac_to_plugin(char * buffer, uint8_t * mac);
+int
+send_mac_to_plugin (char *buffer, uint8_t * mac);
+
+
+#define MAXLINE 4096
+
+struct sendbuf
+{
+  unsigned int pos;
+  unsigned int size;
+  char buf[MAXLINE * 2];
+};
 
 #endif /* HELPER_COMMON_H_ */