summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authortv <tv@also>2011-05-29 16:12:41 +0200
committertv <tv@also>2011-05-29 16:12:41 +0200
commitfa4204369e2d75b06d8b007a751aed06327fd315 (patch)
tree35c65f18ec401e73322157a332d3f396a9589d15 /modules
parent30b44417f91eb100fa67a38e9c1c1f88682c92ef (diff)
lowered all the hierarchy, again
Diffstat (limited to 'modules')
-rw-r--r--modules/retiolum/doc/device.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/modules/retiolum/doc/device.c b/modules/retiolum/doc/device.c
deleted file mode 100644
index 7ffe51dd..00000000
--- a/modules/retiolum/doc/device.c
+++ /dev/null
@@ -1,37 +0,0 @@
-#include "system.h"
-#include "conf.h"
-#include "logger.h"
-#include "net.h"
-#include "route.h"
-#include "utils.h"
-#include "xalloc.h"
-
-int device_fd = -1;
-char *device = NULL;
-char *iface = NULL;
-
-
-bool setup_device(void) {
- device = xstrdup("null");
- iface = xstrdup("null");
- device_fd = -1;
-
- return true;
-}
-
-void close_device(void) {
- free(device);
- free(iface);
-}
-
-bool read_packet(vpn_packet_t *packet) {
-
- return true;
-}
-
-bool write_packet(vpn_packet_t *packet) {
- return true;
-}
-
-void dump_device_stats(void) {
-}