Move all source code to src/. 2.0
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Dec 2006 14:05:26 +0000 (14:05 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Dec 2006 14:05:26 +0000 (14:05 +0000)
44 files changed:
cfg/Makefile.am [deleted file]
logger/Makefile.am [deleted file]
rt/Makefile.am [deleted file]
rt/README [deleted file]
src/avl.c [moved from support/avl.c with 100% similarity]
src/avl.h [moved from support/avl.h with 100% similarity]
src/cfg.c [moved from cfg/cfg.c with 100% similarity]
src/cfg.h [moved from cfg/cfg.h with 100% similarity]
src/edge.c [moved from rt/edge.c with 100% similarity]
src/edge.h [moved from rt/edge.h with 100% similarity]
src/ethernet.h [moved from support/ethernet.h with 100% similarity]
src/gettext.h [moved from support/gettext.h with 100% similarity]
src/graph.c [moved from rt/graph.c with 100% similarity]
src/graph.h [moved from rt/graph.h with 100% similarity]
src/ipv4.h [moved from support/ipv4.h with 100% similarity]
src/ipv6.h [moved from support/ipv6.h with 100% similarity]
src/list.c [moved from support/list.c with 100% similarity]
src/list.h [moved from support/list.h with 100% similarity]
src/log.h [moved from logger/log.h with 100% similarity]
src/logger.c [moved from logger/logger.c with 100% similarity]
src/logger.h [moved from logger/logger.h with 100% similarity]
src/node.c [moved from rt/node.c with 100% similarity]
src/node.h [moved from rt/node.h with 100% similarity]
src/process.c [moved from process.c with 100% similarity]
src/route.c [moved from rt/route.c with 100% similarity]
src/route.h [moved from rt/route.h with 100% similarity]
src/rt.c [moved from rt/rt.c with 100% similarity]
src/rt.h [moved from rt/rt.h with 100% similarity]
src/sockaddr.h [moved from support/sockaddr.h with 100% similarity]
src/subnet.c [moved from rt/subnet.c with 100% similarity]
src/subnet.h [moved from rt/subnet.h with 100% similarity]
src/system.h [moved from system.h with 100% similarity]
src/test.c [moved from tnl/test.c with 100% similarity]
src/tincd.c [moved from tincd.c with 100% similarity]
src/tincd.h [moved from tincd.h with 100% similarity]
src/tnl.c [moved from tnl/tnl.c with 100% similarity]
src/tnl.h [moved from tnl/tnl.h with 100% similarity]
src/vnd.c [moved from vnd/vnd.c with 100% similarity]
src/vnd.h [moved from vnd/vnd.h with 100% similarity]
src/xalloc.c [moved from support/xalloc.c with 100% similarity]
src/xalloc.h [moved from support/xalloc.h with 100% similarity]
support/Makefile.am [deleted file]
tnl/Makefile.am [deleted file]
vnd/Makefile.am [deleted file]

diff --git a/cfg/Makefile.am b/cfg/Makefile.am
deleted file mode 100644 (file)
index 49d353a..0000000
+++ /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 (file)
index 6fe3047..0000000
+++ /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 (file)
index 528c26c..0000000
+++ /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 (file)
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.
-
similarity index 100%
rename from support/avl.c
rename to src/avl.c
similarity index 100%
rename from support/avl.h
rename to src/avl.h
similarity index 100%
rename from cfg/cfg.c
rename to src/cfg.c
similarity index 100%
rename from cfg/cfg.h
rename to src/cfg.h
similarity index 100%
rename from rt/edge.c
rename to src/edge.c
similarity index 100%
rename from rt/edge.h
rename to src/edge.h
similarity index 100%
rename from support/ethernet.h
rename to src/ethernet.h
similarity index 100%
rename from support/gettext.h
rename to src/gettext.h
similarity index 100%
rename from rt/graph.c
rename to src/graph.c
similarity index 100%
rename from rt/graph.h
rename to src/graph.h
similarity index 100%
rename from support/ipv4.h
rename to src/ipv4.h
similarity index 100%
rename from support/ipv6.h
rename to src/ipv6.h
similarity index 100%
rename from support/list.c
rename to src/list.c
similarity index 100%
rename from support/list.h
rename to src/list.h
similarity index 100%
rename from logger/log.h
rename to src/log.h
similarity index 100%
rename from logger/logger.c
rename to src/logger.c
similarity index 100%
rename from logger/logger.h
rename to src/logger.h
similarity index 100%
rename from rt/node.c
rename to src/node.c
similarity index 100%
rename from rt/node.h
rename to src/node.h
similarity index 100%
rename from process.c
rename to src/process.c
similarity index 100%
rename from rt/route.c
rename to src/route.c
similarity index 100%
rename from rt/route.h
rename to src/route.h
similarity index 100%
rename from rt/rt.c
rename to src/rt.c
similarity index 100%
rename from rt/rt.h
rename to src/rt.h
similarity index 100%
rename from support/sockaddr.h
rename to src/sockaddr.h
similarity index 100%
rename from rt/subnet.c
rename to src/subnet.c
similarity index 100%
rename from rt/subnet.h
rename to src/subnet.h
similarity index 100%
rename from system.h
rename to src/system.h
similarity index 100%
rename from tnl/test.c
rename to src/test.c
similarity index 100%
rename from tincd.c
rename to src/tincd.c
similarity index 100%
rename from tincd.h
rename to src/tincd.h
similarity index 100%
rename from tnl/tnl.c
rename to src/tnl.c
similarity index 100%
rename from tnl/tnl.h
rename to src/tnl.h
similarity index 100%
rename from vnd/vnd.c
rename to src/vnd.c
similarity index 100%
rename from vnd/vnd.h
rename to src/vnd.h
similarity index 100%
rename from support/xalloc.c
rename to src/xalloc.c
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 (file)
index 8f38b94..0000000
+++ /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 (file)
index 594838d..0000000
+++ /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 (file)
index e542298..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-noinst_LIBRARIES = libvnd.a
-
-noinst_HEADERS = vnd.h
-
-libvnd_a_SOURCES = vnd.c
-