Addition of global Makefile

First example external module, testroute, has been added. This serves more as an example than a real router
Updated module loading to used fixed GetModuleObject route and addition of ModuleInit routine
This commit is contained in:
Mark Riddoch
2013-06-14 11:51:54 +02:00
parent 61cf0c6187
commit 3b86c93adf
8 changed files with 301 additions and 4 deletions

View File

@ -179,6 +179,8 @@ int main(int argc, char **argv) {
fprintf(stderr, "(C) SkySQL Ab 2013\n");
load_module("testroute", "Router");
if (sigfillset(&sigset) != 0) {
fprintf(stderr, "sigfillset() error %s\n", strerror(errno));
return 1;