1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef HOOKS_H
- #define HOOKS_H
- #include <config.h>
- #include <hooks/callout_handle.h>
- #include <hooks/library_handle.h>
- namespace {
- const int BIND10_HOOKS_VERSION = 1;
- const char* const LOAD_FUNCTION_NAME = "load";
- const char* const UNLOAD_FUNCTION_NAME = "unload";
- const char* const VERSION_FUNCTION_NAME = "version";
- typedef int (*version_function_ptr)();
- typedef int (*load_function_ptr)(isc::hooks::LibraryHandle&);
- typedef int (*unload_function_ptr)();
- }
- namespace isc {
- namespace hooks {
- void hooksStaticLinkInit();
- }
- }
- #endif
|