diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-04-18 08:44:08 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-04-18 08:44:08 -0400 |
commit | 3f5f248803909375c78b0a6ba8da30e44817f5bc (patch) | |
tree | c9395b071ec2c477f2c9daed7ffd83f47e3ac9cd /src/docs/upgrading.dox | |
parent | 017c0c200f3e5e616e6cb8a8b10e6650b724d76c (diff) | |
download | mongo-3f5f248803909375c78b0a6ba8da30e44817f5bc.tar.gz |
Add an extension "unload" entry point, configured with "unload" and with
a default of wiredtiger_extension_unload.
Rename "entry" load extension entry point to be "load", rename the default
from wiredtiger_extension_init to wiredtiger_extension_load, to match.
Diffstat (limited to 'src/docs/upgrading.dox')
-rw-r--r-- | src/docs/upgrading.dox | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/docs/upgrading.dox b/src/docs/upgrading.dox index 78227b8bc93..13bbb7b34c8 100644 --- a/src/docs/upgrading.dox +++ b/src/docs/upgrading.dox @@ -18,15 +18,22 @@ WT_EXTENSION_API::. <ul> <li> -The function called when loading an extension's signature has changed +The configuration string for specifying a non-standard load entry point has +been changed from \c entry to \c load, and the default entry point name has +been changed from \c wiredtiger_extension_init to \c wiredtiger_extension_load. +Applications may require modifications. + +<li> +The signature of the function called when loading an extension has changed from <code>(WT_SESSION *session, WT_EXTENSION_API *api)</code> to -<code>(WT_CONNECTION *connection)</code>, and the -WT_CONNECTION::get_extension_api added to support retrieval of the -extension API. Applications may require modifications. +<code>(WT_CONNECTION *connection)</code>. As no WT_EXTENSION_API +handle reference is passed to the function, the +WT_CONNECTION::get_extension_api has been added to support retrieval of +the extension API. Applications may require modifications. <li> The type of all configuration arguments to extension methods has changed -from \c "const char *" to \c "void *", and the WT_EXTENSION::config +from \c "const char *" to \c "WT_CONFIG_ARG *", and the WT_EXTENSION::config method added to support configuration parsing; applications may require modifications. @@ -43,6 +50,7 @@ the WT_EXTENSION_API method handle; applications may require modifications. <li> The WT_SESSION::msg_printf method was replaced by WT_EXTENSION_API::msg_printf; applications may require modifications. + </ul> </dd> |