New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dynamic library support #93
Commits on Oct 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1762437 - Browse repository at this point
Copy the full SHA 1762437View commit details -
Improve dynlib module and add documentation
Dynamic library module is now only a thin wrapper that loads dynamic libraries and forwards all function calls directly to the loaded module. This meant adding get_mem and clear, and get_mem calls have been added in the expected places. Documentation has also been added to the example.conf and the unbound.conf manpage.
Configuration menu - View commit details
-
Copy full SHA for 8eeb910 - Browse repository at this point
Copy the full SHA 8eeb910View commit details -
Add support for multiple dynamic modules
Allows the use of multiple dynamic modules. Simply add more "dynlib" entries to the "modules-config" and the same amount of "dynlib-file" entries in the dynlib configuration block.
Configuration menu - View commit details
-
Copy full SHA for f177dc9 - Browse repository at this point
Copy the full SHA f177dc9View commit details
Commits on Oct 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f798114 - Browse repository at this point
Copy the full SHA f798114View commit details
Commits on Nov 1, 2019
-
Add inplace callback to dynlibmod, improve example
This adds the possibility to properly register inplace callbacks in the dynamic library module. It works by creating a wrapper procedure that is available to the dynamic library and will call the given callback through a whitelisted callback function. The dynamic library example has already been improved to include comments and some simple examples on allocating and deallocating memory and registering callbacks.
Configuration menu - View commit details
-
Copy full SHA for d104d3b - Browse repository at this point
Copy the full SHA d104d3bView commit details
Commits on Nov 4, 2019
-
Add "dynlib" prefix to example output, log queries
This adds the "dynlib: " prefix to all messages created by the `helloworld.c` dynamic library example. It also adds logging of queries that pass through `operate`.
Configuration menu - View commit details
-
Copy full SHA for 5eabc42 - Browse repository at this point
Copy the full SHA 5eabc42View commit details
Commits on Nov 20, 2019
-
Fix return code of init to mirror native modules
The return code of the init procedure was just set to be 1 in the dynamic library loading module. This ha been rectified and it will now return whatever is returned from the loaded module.
Configuration menu - View commit details
-
Copy full SHA for 8802509 - Browse repository at this point
Copy the full SHA 8802509View commit details
Commits on Jan 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7e8dc1 - Browse repository at this point
Copy the full SHA b7e8dc1View commit details