Renamed src directory to src-api
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Thu, 8 Mar 2012 09:32:40 +0000 (10:32 +0100)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Thu, 8 Mar 2012 09:32:40 +0000 (10:32 +0100)
Renamed lib directory to src-plugins

125 files changed:
CMake.config
CMakeLists.txt
config.txt
src-api/CMake.link_dynamic [moved from src/CMake.link_dynamic with 100% similarity]
src-api/CMake.link_static [moved from src/CMake.link_static with 100% similarity]
src-api/CMakeLists.txt [moved from src/CMakeLists.txt with 100% similarity]
src-api/android/README [moved from src/android/README with 100% similarity]
src-api/android/arch/syslimits.h [moved from src/android/arch/syslimits.h with 100% similarity]
src-api/android/linux/if_tunnel.h [moved from src/android/linux/if_tunnel.h with 100% similarity]
src-api/android/linux/ip6_tunnel.h [moved from src/android/linux/ip6_tunnel.h with 100% similarity]
src-api/builddata/CMakeLists.txt [moved from src/builddata/CMakeLists.txt with 100% similarity]
src-api/builddata/data.c.in [moved from src/builddata/data.c.in with 100% similarity]
src-api/builddata/data.h [moved from src/builddata/data.h with 100% similarity]
src-api/builddata/generate_builddata.cmake [moved from src/builddata/generate_builddata.cmake with 100% similarity]
src-api/builddata/generate_static_loader.cmake [moved from src/builddata/generate_static_loader.cmake with 100% similarity]
src-api/builddata/plugin_static.h [moved from src/builddata/plugin_static.h with 100% similarity]
src-api/common/CMakeLists.txt [moved from src/common/CMakeLists.txt with 100% similarity]
src-api/common/autobuf.c [moved from src/common/autobuf.c with 100% similarity]
src-api/common/autobuf.h [moved from src/common/autobuf.h with 100% similarity]
src-api/common/avl.c [moved from src/common/avl.c with 100% similarity]
src-api/common/avl.h [moved from src/common/avl.h with 100% similarity]
src-api/common/avl_comp.c [moved from src/common/avl_comp.c with 100% similarity]
src-api/common/avl_comp.h [moved from src/common/avl_comp.h with 100% similarity]
src-api/common/common_types.h [moved from src/common/common_types.h with 100% similarity]
src-api/common/container_of.h [moved from src/common/container_of.h with 100% similarity]
src-api/common/daemonize.c [moved from src/common/daemonize.c with 100% similarity]
src-api/common/daemonize.h [moved from src/common/daemonize.h with 100% similarity]
src-api/common/list.h [moved from src/common/list.h with 100% similarity]
src-api/common/netaddr.c [moved from src/common/netaddr.c with 100% similarity]
src-api/common/netaddr.h [moved from src/common/netaddr.h with 100% similarity]
src-api/common/string.c [moved from src/common/string.c with 100% similarity]
src-api/common/string.h [moved from src/common/string.h with 100% similarity]
src-api/common/template.c [moved from src/common/template.c with 100% similarity]
src-api/common/template.h [moved from src/common/template.h with 100% similarity]
src-api/config/CMakeLists.txt [moved from src/config/CMakeLists.txt with 100% similarity]
src-api/config/cfg.c [moved from src/config/cfg.c with 100% similarity]
src-api/config/cfg.h [moved from src/config/cfg.h with 100% similarity]
src-api/config/cfg_cmd.c [moved from src/config/cfg_cmd.c with 100% similarity]
src-api/config/cfg_cmd.h [moved from src/config/cfg_cmd.h with 100% similarity]
src-api/config/cfg_db.c [moved from src/config/cfg_db.c with 100% similarity]
src-api/config/cfg_db.h [moved from src/config/cfg_db.h with 100% similarity]
src-api/config/cfg_io.c [moved from src/config/cfg_io.c with 100% similarity]
src-api/config/cfg_io.h [moved from src/config/cfg_io.h with 100% similarity]
src-api/config/cfg_parser.c [moved from src/config/cfg_parser.c with 100% similarity]
src-api/config/cfg_parser.h [moved from src/config/cfg_parser.h with 100% similarity]
src-api/config/cfg_schema.c [moved from src/config/cfg_schema.c with 100% similarity]
src-api/config/cfg_schema.h [moved from src/config/cfg_schema.h with 100% similarity]
src-api/core/CMakeLists.txt [moved from src/core/CMakeLists.txt with 100% similarity]
src-api/core/olsr.c [moved from src/core/olsr.c with 100% similarity]
src-api/core/olsr.h [moved from src/core/olsr.h with 100% similarity]
src-api/core/olsr_cfg.c [moved from src/core/olsr_cfg.c with 100% similarity]
src-api/core/olsr_cfg.h [moved from src/core/olsr_cfg.h with 100% similarity]
src-api/core/olsr_clock.c [moved from src/core/olsr_clock.c with 100% similarity]
src-api/core/olsr_clock.h [moved from src/core/olsr_clock.h with 100% similarity]
src-api/core/olsr_http.c [moved from src/core/olsr_http.c with 100% similarity]
src-api/core/olsr_http.h [moved from src/core/olsr_http.h with 100% similarity]
src-api/core/olsr_interface.c [moved from src/core/olsr_interface.c with 100% similarity]
src-api/core/olsr_interface.h [moved from src/core/olsr_interface.h with 100% similarity]
src-api/core/olsr_logging.c [moved from src/core/olsr_logging.c with 100% similarity]
src-api/core/olsr_logging.h [moved from src/core/olsr_logging.h with 100% similarity]
src-api/core/olsr_logging_cfg.c [moved from src/core/olsr_logging_cfg.c with 100% similarity]
src-api/core/olsr_logging_cfg.h [moved from src/core/olsr_logging_cfg.h with 100% similarity]
src-api/core/olsr_memcookie.c [moved from src/core/olsr_memcookie.c with 100% similarity]
src-api/core/olsr_memcookie.h [moved from src/core/olsr_memcookie.h with 100% similarity]
src-api/core/olsr_netaddr_acl.c [moved from src/core/olsr_netaddr_acl.c with 100% similarity]
src-api/core/olsr_netaddr_acl.h [moved from src/core/olsr_netaddr_acl.h with 100% similarity]
src-api/core/olsr_packet_socket.c [moved from src/core/olsr_packet_socket.c with 100% similarity]
src-api/core/olsr_packet_socket.h [moved from src/core/olsr_packet_socket.h with 100% similarity]
src-api/core/olsr_plugins.c [moved from src/core/olsr_plugins.c with 100% similarity]
src-api/core/olsr_plugins.h [moved from src/core/olsr_plugins.h with 100% similarity]
src-api/core/olsr_socket.c [moved from src/core/olsr_socket.c with 100% similarity]
src-api/core/olsr_socket.h [moved from src/core/olsr_socket.h with 100% similarity]
src-api/core/olsr_stream_socket.c [moved from src/core/olsr_stream_socket.c with 100% similarity]
src-api/core/olsr_stream_socket.h [moved from src/core/olsr_stream_socket.h with 100% similarity]
src-api/core/olsr_telnet.c [moved from src/core/olsr_telnet.c with 100% similarity]
src-api/core/olsr_telnet.h [moved from src/core/olsr_telnet.h with 100% similarity]
src-api/core/olsr_timer.c [moved from src/core/olsr_timer.c with 100% similarity]
src-api/core/olsr_timer.h [moved from src/core/olsr_timer.h with 100% similarity]
src-api/core/os_clock.h [moved from src/core/os_clock.h with 100% similarity]
src-api/core/os_helper.h [moved from src/core/os_helper.h with 100% similarity]
src-api/core/os_linux/os_clock_linux.c [moved from src/core/os_linux/os_clock_linux.c with 100% similarity]
src-api/core/os_linux/os_clock_linux.h [moved from src/core/os_linux/os_clock_linux.h with 100% similarity]
src-api/core/os_linux/os_net_linux.c [moved from src/core/os_linux/os_net_linux.c with 100% similarity]
src-api/core/os_linux/os_net_linux.h [moved from src/core/os_linux/os_net_linux.h with 100% similarity]
src-api/core/os_linux/os_routing_linux.c [moved from src/core/os_linux/os_routing_linux.c with 100% similarity]
src-api/core/os_linux/os_routing_linux.h [moved from src/core/os_linux/os_routing_linux.h with 100% similarity]
src-api/core/os_linux/os_system_linux.c [moved from src/core/os_linux/os_system_linux.c with 100% similarity]
src-api/core/os_linux/os_system_linux.h [moved from src/core/os_linux/os_system_linux.h with 100% similarity]
src-api/core/os_net.h [moved from src/core/os_net.h with 100% similarity]
src-api/core/os_net_generic.c [moved from src/core/os_net_generic.c with 100% similarity]
src-api/core/os_routing.h [moved from src/core/os_routing.h with 100% similarity]
src-api/core/os_system.h [moved from src/core/os_system.h with 100% similarity]
src-api/core/os_system_generic.c [moved from src/core/os_system_generic.c with 100% similarity]
src-api/olsr_main.c [moved from src/olsr_main.c with 100% similarity]
src-api/olsr_setup.c [moved from src/olsr_setup.c with 100% similarity]
src-api/olsr_setup.h [moved from src/olsr_setup.h with 100% similarity]
src-api/regex/CMakeLists.txt [moved from src/regex/CMakeLists.txt with 100% similarity]
src-api/regex/COPYRIGHT [moved from src/regex/COPYRIGHT with 100% similarity]
src-api/regex/WHATSNEW [moved from src/regex/WHATSNEW with 100% similarity]
src-api/regex/cclass.h [moved from src/regex/cclass.h with 100% similarity]
src-api/regex/cname.h [moved from src/regex/cname.h with 100% similarity]
src-api/regex/engine.c [moved from src/regex/engine.c with 100% similarity]
src-api/regex/re_format.7 [moved from src/regex/re_format.7 with 100% similarity]
src-api/regex/regcomp.c [moved from src/regex/regcomp.c with 100% similarity]
src-api/regex/regerror.c [moved from src/regex/regerror.c with 100% similarity]
src-api/regex/regex.3 [moved from src/regex/regex.3 with 100% similarity]
src-api/regex/regex.h [moved from src/regex/regex.h with 100% similarity]
src-api/regex/regex2.h [moved from src/regex/regex2.h with 100% similarity]
src-api/regex/regexec.c [moved from src/regex/regexec.c with 100% similarity]
src-api/regex/regfree.c [moved from src/regex/regfree.c with 100% similarity]
src-api/regex/utils.h [moved from src/regex/utils.h with 100% similarity]
src-plugins/CMake.plugin [moved from lib/CMake.plugin with 100% similarity]
src-plugins/CMakeLists.txt [moved from lib/CMakeLists.txt with 100% similarity]
src-plugins/cfgio_file/CMakeLists.txt [moved from lib/cfgio_file/CMakeLists.txt with 100% similarity]
src-plugins/cfgio_file/README_CFGIO_FILE [moved from lib/cfgio_file/README_CFGIO_FILE with 100% similarity]
src-plugins/cfgio_file/src/cfgio_file.c [moved from lib/cfgio_file/src/cfgio_file.c with 100% similarity]
src-plugins/cfgparser_compact/CMakeLists.txt [moved from lib/cfgparser_compact/CMakeLists.txt with 100% similarity]
src-plugins/cfgparser_compact/README_CFGPARSER_COMPACT [moved from lib/cfgparser_compact/README_CFGPARSER_COMPACT with 100% similarity]
src-plugins/cfgparser_compact/src/cfgparser_compact.c [moved from lib/cfgparser_compact/src/cfgparser_compact.c with 100% similarity]
src-plugins/httptelnet/CMakeLists.txt [moved from lib/httptelnet/CMakeLists.txt with 100% similarity]
src-plugins/httptelnet/README_HTTPTELNET [moved from lib/httptelnet/README_HTTPTELNET with 100% similarity]
src-plugins/httptelnet/src/httptelnet.c [moved from lib/httptelnet/src/httptelnet.c with 100% similarity]
src-plugins/remotecontrol/CMakeLists.txt [moved from lib/remotecontrol/CMakeLists.txt with 100% similarity]
src-plugins/remotecontrol/README_REMOTECONTROL [moved from lib/remotecontrol/README_REMOTECONTROL with 100% similarity]
src-plugins/remotecontrol/src/remotecontrol.c [moved from lib/remotecontrol/src/remotecontrol.c with 100% similarity]

index 6e4bc13..406d218 100644 (file)
@@ -22,16 +22,16 @@ set (OONF_VERSION_TRAILER "Visit http://www.olsr.org\\\\n")
 set (OONF_VERSION 0.7.0)
 
 # set static plugins (space separated list of plugin names)
-set (OONF_STATIC_PLUGINS cfgparser_compact cfgio_file) # remotecontrol httptelnet)
+set (OONF_STATIC_PLUGINS cfgparser_compact cfgio_file remotecontrol httptelnet)
 
 # choose if framework should be linked static or dynamic
 set (OONF_FRAMEWORD_DYNAMIC false)
 
 # set to true to stop application running without root privileges (true/false)
-set (OONF_NEED_ROOT false)
+set (OONF_NEED_ROOT true)
 
 # set to true if the application needs to set ip routes for traffic forwarding
-set (OONF_NEED_ROUTING false)
+set (OONF_NEED_ROUTING true)
 
 # allow removal of Logging levels from code
 set (OONF_REMOVE_DEBUG_LOGGING false)
index 0b991bb..dab3f83 100644 (file)
@@ -31,9 +31,9 @@ if(DOXYGEN_FOUND)
 endif(DOXYGEN_FOUND)
 
 # set include directories
-include_directories(src)
-include_directories(src/core)
+include_directories(src-api)
+include_directories(src-api/core)
 
 # start compiling core and plugins
-add_subdirectory(src)
-add_subdirectory(lib)
+add_subdirectory(src-api)
+add_subdirectory(src-plugins)
index 28eb51b..d42de80 100644 (file)
@@ -25,3 +25,7 @@
 
 [remotecontrol]
 #      acl          accept_default
+
+[nl80211]
+       if           wlan0
+       interval     3.0
similarity index 100%
rename from src/CMakeLists.txt
rename to src-api/CMakeLists.txt
similarity index 100%
rename from src/android/README
rename to src-api/android/README
similarity index 100%
rename from src/common/avl.c
rename to src-api/common/avl.c
similarity index 100%
rename from src/common/avl.h
rename to src-api/common/avl.h
similarity index 100%
rename from src/common/list.h
rename to src-api/common/list.h
similarity index 100%
rename from src/common/string.c
rename to src-api/common/string.c
similarity index 100%
rename from src/common/string.h
rename to src-api/common/string.h
similarity index 100%
rename from src/config/cfg.c
rename to src-api/config/cfg.c
similarity index 100%
rename from src/config/cfg.h
rename to src-api/config/cfg.h
similarity index 100%
rename from src/config/cfg_db.c
rename to src-api/config/cfg_db.c
similarity index 100%
rename from src/config/cfg_db.h
rename to src-api/config/cfg_db.h
similarity index 100%
rename from src/config/cfg_io.c
rename to src-api/config/cfg_io.c
similarity index 100%
rename from src/config/cfg_io.h
rename to src-api/config/cfg_io.h
similarity index 100%
rename from src/core/olsr.c
rename to src-api/core/olsr.c
similarity index 100%
rename from src/core/olsr.h
rename to src-api/core/olsr.h
similarity index 100%
rename from src/core/olsr_cfg.c
rename to src-api/core/olsr_cfg.c
similarity index 100%
rename from src/core/olsr_cfg.h
rename to src-api/core/olsr_cfg.h
similarity index 100%
rename from src/core/os_clock.h
rename to src-api/core/os_clock.h
similarity index 100%
rename from src/core/os_net.h
rename to src-api/core/os_net.h
similarity index 100%
rename from src/olsr_main.c
rename to src-api/olsr_main.c
similarity index 100%
rename from src/olsr_setup.c
rename to src-api/olsr_setup.c
similarity index 100%
rename from src/olsr_setup.h
rename to src-api/olsr_setup.h
similarity index 100%
rename from src/regex/COPYRIGHT
rename to src-api/regex/COPYRIGHT
similarity index 100%
rename from src/regex/WHATSNEW
rename to src-api/regex/WHATSNEW
similarity index 100%
rename from src/regex/cclass.h
rename to src-api/regex/cclass.h
similarity index 100%
rename from src/regex/cname.h
rename to src-api/regex/cname.h
similarity index 100%
rename from src/regex/engine.c
rename to src-api/regex/engine.c
similarity index 100%
rename from src/regex/regcomp.c
rename to src-api/regex/regcomp.c
similarity index 100%
rename from src/regex/regex.3
rename to src-api/regex/regex.3
similarity index 100%
rename from src/regex/regex.h
rename to src-api/regex/regex.h
similarity index 100%
rename from src/regex/regex2.h
rename to src-api/regex/regex2.h
similarity index 100%
rename from src/regex/regexec.c
rename to src-api/regex/regexec.c
similarity index 100%
rename from src/regex/regfree.c
rename to src-api/regex/regfree.c
similarity index 100%
rename from src/regex/utils.h
rename to src-api/regex/utils.h
similarity index 100%
rename from lib/CMake.plugin
rename to src-plugins/CMake.plugin