From ff03bb9b0a744530e1145fef656644987a10d62d Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 15 Dec 2006 14:05:26 +0000 Subject: [PATCH] Move all source code to src/. --- cfg/Makefile.am | 6 ------ logger/Makefile.am | 6 ------ rt/Makefile.am | 6 ------ rt/README | 31 ------------------------------- {support => src}/avl.c | 0 {support => src}/avl.h | 0 {cfg => src}/cfg.c | 0 {cfg => src}/cfg.h | 0 {rt => src}/edge.c | 0 {rt => src}/edge.h | 0 {support => src}/ethernet.h | 0 {support => src}/gettext.h | 0 {rt => src}/graph.c | 0 {rt => src}/graph.h | 0 {support => src}/ipv4.h | 0 {support => src}/ipv6.h | 0 {support => src}/list.c | 0 {support => src}/list.h | 0 {logger => src}/log.h | 0 {logger => src}/logger.c | 0 {logger => src}/logger.h | 0 {rt => src}/node.c | 0 {rt => src}/node.h | 0 process.c => src/process.c | 0 {rt => src}/route.c | 0 {rt => src}/route.h | 0 {rt => src}/rt.c | 0 {rt => src}/rt.h | 0 {support => src}/sockaddr.h | 0 {rt => src}/subnet.c | 0 {rt => src}/subnet.h | 0 system.h => src/system.h | 0 {tnl => src}/test.c | 0 tincd.c => src/tincd.c | 0 tincd.h => src/tincd.h | 0 {tnl => src}/tnl.c | 0 {tnl => src}/tnl.h | 0 {vnd => src}/vnd.c | 0 {vnd => src}/vnd.h | 0 {support => src}/xalloc.c | 0 {support => src}/xalloc.h | 0 support/Makefile.am | 6 ------ tnl/Makefile.am | 6 ------ vnd/Makefile.am | 6 ------ 44 files changed, 67 deletions(-) delete mode 100644 cfg/Makefile.am delete mode 100644 logger/Makefile.am delete mode 100644 rt/Makefile.am delete mode 100644 rt/README rename {support => src}/avl.c (100%) rename {support => src}/avl.h (100%) rename {cfg => src}/cfg.c (100%) rename {cfg => src}/cfg.h (100%) rename {rt => src}/edge.c (100%) rename {rt => src}/edge.h (100%) rename {support => src}/ethernet.h (100%) rename {support => src}/gettext.h (100%) rename {rt => src}/graph.c (100%) rename {rt => src}/graph.h (100%) rename {support => src}/ipv4.h (100%) rename {support => src}/ipv6.h (100%) rename {support => src}/list.c (100%) rename {support => src}/list.h (100%) rename {logger => src}/log.h (100%) rename {logger => src}/logger.c (100%) rename {logger => src}/logger.h (100%) rename {rt => src}/node.c (100%) rename {rt => src}/node.h (100%) rename process.c => src/process.c (100%) rename {rt => src}/route.c (100%) rename {rt => src}/route.h (100%) rename {rt => src}/rt.c (100%) rename {rt => src}/rt.h (100%) rename {support => src}/sockaddr.h (100%) rename {rt => src}/subnet.c (100%) rename {rt => src}/subnet.h (100%) rename system.h => src/system.h (100%) rename {tnl => src}/test.c (100%) rename tincd.c => src/tincd.c (100%) rename tincd.h => src/tincd.h (100%) rename {tnl => src}/tnl.c (100%) rename {tnl => src}/tnl.h (100%) rename {vnd => src}/vnd.c (100%) rename {vnd => src}/vnd.h (100%) rename {support => src}/xalloc.c (100%) rename {support => src}/xalloc.h (100%) delete mode 100644 support/Makefile.am delete mode 100644 tnl/Makefile.am delete mode 100644 vnd/Makefile.am diff --git a/cfg/Makefile.am b/cfg/Makefile.am deleted file mode 100644 index 49d353a..0000000 --- a/cfg/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -noinst_LIBRARIES = libcfg.a - -noinst_HEADERS = cfg.h - -libcfg_a_SOURCES = cfg.c - diff --git a/logger/Makefile.am b/logger/Makefile.am deleted file mode 100644 index 6fe3047..0000000 --- a/logger/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -noinst_LIBRARIES = liblogger.a - -noinst_HEADERS = logger.h - -liblogger_a_SOURCES = logger.c - diff --git a/rt/Makefile.am b/rt/Makefile.am deleted file mode 100644 index 528c26c..0000000 --- a/rt/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -noinst_LIBRARIES = librt.a - -noinst_HEADERS = edge.h graph.h node.h route.h rt.h subnet.h - -librt_a_SOURCES = edge.c graph.c node.c route.c rt.c subnet.c - diff --git a/rt/README b/rt/README deleted file mode 100644 index d0b6dc8..0000000 --- a/rt/README +++ /dev/null @@ -1,31 +0,0 @@ -Routing subsystem -================= - -The routing part of tinc reads/writes packets to/from the virtual network -device, sets up tunnels on demand and routes packets to/from the virtual -network device and the tunnels. It can also exchange information about other -daemons using the tunnels. - -The following datatypes are used in this subsystem: - -struct node ------------ - -This represents a tinc daemon. It keeps track of the best way to reach this -daemon (if it is reachable at all), which subnets are associated with this -daemon, and the connections it has with other daemons. - -struct subnet -------------- - -This represents a subnet, can have an expiry time and is associated with a node. - -struct edge ------------ - -This represents a connection from one tinc daemon to another. The edges have a -specific direction, and normally if there really is a connection between tinc -daemon A and B, there will be two edges, A -> B and B -> A. This seems -redundant, but is necessary to allow disparities between information learned -from A and information learned from B. - diff --git a/support/avl.c b/src/avl.c similarity index 100% rename from support/avl.c rename to src/avl.c diff --git a/support/avl.h b/src/avl.h similarity index 100% rename from support/avl.h rename to src/avl.h diff --git a/cfg/cfg.c b/src/cfg.c similarity index 100% rename from cfg/cfg.c rename to src/cfg.c diff --git a/cfg/cfg.h b/src/cfg.h similarity index 100% rename from cfg/cfg.h rename to src/cfg.h diff --git a/rt/edge.c b/src/edge.c similarity index 100% rename from rt/edge.c rename to src/edge.c diff --git a/rt/edge.h b/src/edge.h similarity index 100% rename from rt/edge.h rename to src/edge.h diff --git a/support/ethernet.h b/src/ethernet.h similarity index 100% rename from support/ethernet.h rename to src/ethernet.h diff --git a/support/gettext.h b/src/gettext.h similarity index 100% rename from support/gettext.h rename to src/gettext.h diff --git a/rt/graph.c b/src/graph.c similarity index 100% rename from rt/graph.c rename to src/graph.c diff --git a/rt/graph.h b/src/graph.h similarity index 100% rename from rt/graph.h rename to src/graph.h diff --git a/support/ipv4.h b/src/ipv4.h similarity index 100% rename from support/ipv4.h rename to src/ipv4.h diff --git a/support/ipv6.h b/src/ipv6.h similarity index 100% rename from support/ipv6.h rename to src/ipv6.h diff --git a/support/list.c b/src/list.c similarity index 100% rename from support/list.c rename to src/list.c diff --git a/support/list.h b/src/list.h similarity index 100% rename from support/list.h rename to src/list.h diff --git a/logger/log.h b/src/log.h similarity index 100% rename from logger/log.h rename to src/log.h diff --git a/logger/logger.c b/src/logger.c similarity index 100% rename from logger/logger.c rename to src/logger.c diff --git a/logger/logger.h b/src/logger.h similarity index 100% rename from logger/logger.h rename to src/logger.h diff --git a/rt/node.c b/src/node.c similarity index 100% rename from rt/node.c rename to src/node.c diff --git a/rt/node.h b/src/node.h similarity index 100% rename from rt/node.h rename to src/node.h diff --git a/process.c b/src/process.c similarity index 100% rename from process.c rename to src/process.c diff --git a/rt/route.c b/src/route.c similarity index 100% rename from rt/route.c rename to src/route.c diff --git a/rt/route.h b/src/route.h similarity index 100% rename from rt/route.h rename to src/route.h diff --git a/rt/rt.c b/src/rt.c similarity index 100% rename from rt/rt.c rename to src/rt.c diff --git a/rt/rt.h b/src/rt.h similarity index 100% rename from rt/rt.h rename to src/rt.h diff --git a/support/sockaddr.h b/src/sockaddr.h similarity index 100% rename from support/sockaddr.h rename to src/sockaddr.h diff --git a/rt/subnet.c b/src/subnet.c similarity index 100% rename from rt/subnet.c rename to src/subnet.c diff --git a/rt/subnet.h b/src/subnet.h similarity index 100% rename from rt/subnet.h rename to src/subnet.h diff --git a/system.h b/src/system.h similarity index 100% rename from system.h rename to src/system.h diff --git a/tnl/test.c b/src/test.c similarity index 100% rename from tnl/test.c rename to src/test.c diff --git a/tincd.c b/src/tincd.c similarity index 100% rename from tincd.c rename to src/tincd.c diff --git a/tincd.h b/src/tincd.h similarity index 100% rename from tincd.h rename to src/tincd.h diff --git a/tnl/tnl.c b/src/tnl.c similarity index 100% rename from tnl/tnl.c rename to src/tnl.c diff --git a/tnl/tnl.h b/src/tnl.h similarity index 100% rename from tnl/tnl.h rename to src/tnl.h diff --git a/vnd/vnd.c b/src/vnd.c similarity index 100% rename from vnd/vnd.c rename to src/vnd.c diff --git a/vnd/vnd.h b/src/vnd.h similarity index 100% rename from vnd/vnd.h rename to src/vnd.h diff --git a/support/xalloc.c b/src/xalloc.c similarity index 100% rename from support/xalloc.c rename to src/xalloc.c diff --git a/support/xalloc.h b/src/xalloc.h similarity index 100% rename from support/xalloc.h rename to src/xalloc.h diff --git a/support/Makefile.am b/support/Makefile.am deleted file mode 100644 index 8f38b94..0000000 --- a/support/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -noinst_LIBRARIES = libsupport.a - -noinst_HEADERS = avl.h ethernet.h ipv4.h ipv6.h list.h sockaddr.h xalloc.h - -libsupport_a_SOURCES = avl.c list.c xalloc.c - diff --git a/tnl/Makefile.am b/tnl/Makefile.am deleted file mode 100644 index 594838d..0000000 --- a/tnl/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -noinst_LIBRARIES = libtnl.a - -noinst_HEADERS = tnl.h - -libtnl_a_SOURCES = tnl.c - diff --git a/vnd/Makefile.am b/vnd/Makefile.am deleted file mode 100644 index e542298..0000000 --- a/vnd/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -noinst_LIBRARIES = libvnd.a - -noinst_HEADERS = vnd.h - -libvnd_a_SOURCES = vnd.c - -- 2.25.1