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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user