From 6fac52823412464009993e0539143e6ec200796c Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 May 2011 16:12:41 +0200 Subject: lowered all the hierarchy, again --- modules/retiolum/doc/device.c | 37 ------------------------------------- retiolum/doc/device.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 modules/retiolum/doc/device.c create mode 100644 retiolum/doc/device.c 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) { -} diff --git a/retiolum/doc/device.c b/retiolum/doc/device.c new file mode 100644 index 00000000..7ffe51dd --- /dev/null +++ b/retiolum/doc/device.c @@ -0,0 +1,37 @@ +#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) { +} -- cgit v1.2.3