new plugin interface:
authorBruno Randolf <br1@einfach.org>
Sun, 29 May 2005 12:47:46 +0000 (12:47 +0000)
committerBruno Randolf <br1@einfach.org>
Sun, 29 May 2005 12:47:46 +0000 (12:47 +0000)
commit01f9c01b4ca9d479a94d5dd5279bd359e466de1c
tree944b5b0188d4672b9f28397323e9a2c716f20eb5
parentf6b2a3addeb4c60ca3921811cb256c6225c7bd7d
new plugin interface:
  - plugins can now directly access all olsrd data structures
  - a plugin only has to include "olsrd_plugin.h" and provide 3 interface functions:
      1. olsrd_plugin_interface_version()
      2. olsrd_plugin_register_param()
      3. olsrd_plugin_init()
    which are called in the above order
  - moved all plugins to the new interface
79 files changed:
lib/dot_draw/src/olsrd_dot_draw.c
lib/dot_draw/src/olsrd_dot_draw.h
lib/dot_draw/src/olsrd_plugin.c
lib/dot_draw/src/olsrd_plugin.h [deleted file]
lib/dot_draw/version-script.txt
lib/dyn_gw/src/olsrd_dyn_gw.c
lib/dyn_gw/src/olsrd_dyn_gw.h
lib/dyn_gw/src/olsrd_plugin.c
lib/dyn_gw/src/olsrd_plugin.h [deleted file]
lib/dyn_gw/version-script.txt
lib/httpinfo/src/admin_interface.c
lib/httpinfo/src/olsrd_httpinfo.c
lib/httpinfo/src/olsrd_httpinfo.h
lib/httpinfo/src/olsrd_plugin.c
lib/httpinfo/src/olsrd_plugin.h
lib/httpinfo/version-script.txt
lib/mini/src/olsrd_plugin.c
lib/mini/version-script.txt
lib/nameservice/src/compat.c [new file with mode: 0644]
lib/nameservice/src/compat.h [new file with mode: 0644]
lib/nameservice/src/nameservice.c
lib/nameservice/src/nameservice.h
lib/nameservice/src/olsrd_copy.c
lib/nameservice/src/olsrd_copy.h
lib/nameservice/src/olsrd_plugin.c
lib/nameservice/src/olsrd_plugin.h [deleted file]
lib/nameservice/version-script.txt
lib/powerinfo/src/olsr_plugin_io.h [deleted file]
lib/powerinfo/src/olsrd_plugin.c
lib/powerinfo/src/olsrd_plugin.h [deleted file]
lib/powerinfo/src/olsrd_power.c
lib/powerinfo/src/olsrd_power.h
lib/powerinfo/version-script.txt
lib/secure/src/olsrd_plugin.c
lib/secure/src/olsrd_plugin.h [deleted file]
lib/secure/src/olsrd_secure.c
lib/secure/src/olsrd_secure.h
lib/secure/src/secure_messages.h [new file with mode: 0644]
lib/secure/version-script.txt
lib/tas/src/http.c
lib/tas/src/os_unix.c
lib/tas/src/os_unix.h
lib/tas/src/plugin.c
lib/tas/version-script.txt
src/apm.h
src/defs.c [new file with mode: 0644]
src/defs.h
src/hna_set.c
src/hna_set.h
src/interfaces.c
src/interfaces.h
src/link_set.c
src/link_set.h
src/mantissa.h
src/mid_set.c
src/mid_set.h
src/mpr_selector_set.h
src/neighbor_table.c
src/neighbor_table.h
src/olsr.c
src/olsr.h
src/olsr_plugin_io.h [deleted file]
src/olsrd_plugin.h [moved from lib/mini/src/olsrd_plugin.h with 78% similarity]
src/packet.h
src/parser.c
src/parser.h
src/plugin.c [deleted file]
src/plugin_loader.c
src/plugin_loader.h
src/process_routes.c
src/process_routes.h
src/routing_table.c
src/routing_table.h
src/socket_parser.c
src/socket_parser.h
src/tc_set.c
src/tc_set.h
src/two_hop_neighbor_table.c
src/two_hop_neighbor_table.h