summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/wiredtiger_ext.h
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2015-02-19 07:25:04 -0500
committerDan Pasette <dan@mongodb.com>2015-02-19 07:25:04 -0500
commit27e6efa8fee6a78ae549365093736934dc089eeb (patch)
treeb1f1a9f13ebab743f1bf80b62fdc7bf7d7d45417 /src/third_party/wiredtiger/src/include/wiredtiger_ext.h
parent4ca4224dae91ec067a38cd552b3b8c50999d7707 (diff)
downloadmongo-27e6efa8fee6a78ae549365093736934dc089eeb.tar.gz
Import wiredtiger-wiredtiger-mongodb-3.0-rc9-1-gfc15500.tar.gz from wiredtiger branch mongodb-3.0
Diffstat (limited to 'src/third_party/wiredtiger/src/include/wiredtiger_ext.h')
-rw-r--r--src/third_party/wiredtiger/src/include/wiredtiger_ext.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/include/wiredtiger_ext.h b/src/third_party/wiredtiger/src/include/wiredtiger_ext.h
index ee27b32ddf7..28fd8e18329 100644
--- a/src/third_party/wiredtiger/src/include/wiredtiger_ext.h
+++ b/src/third_party/wiredtiger/src/include/wiredtiger_ext.h
@@ -118,16 +118,17 @@ struct __wt_extension_api {
WT_EXTENSION_API *, WT_SESSION *session, const char *fmt, ...);
/*!
- * Return information about an error as a string; the strerror method
- * is a superset of the ISO C99/POSIX 1003.1-2001 function strerror.
+ * Return information about an error as a string.
*
* @snippet ex_data_source.c WT_EXTENSION_API strerror
*
- * @param err a return value from a WiredTiger, C library or POSIX
- * function
+ * @param wt_api the extension handle
+ * @param session the session handle (or NULL if none available)
+ * @param error a return value from a WiredTiger function
* @returns a string representation of the error
*/
- const char *(*strerror)(int err);
+ const char *(*strerror)(
+ WT_EXTENSION_API *, WT_SESSION *session, int error);
/*!
* Allocate short-term use scratch memory.