diff options
Diffstat (limited to 'src/include/wiredtiger_ext.h')
-rw-r--r-- | src/include/wiredtiger_ext.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/wiredtiger_ext.h b/src/include/wiredtiger_ext.h index ee27b32ddf7..28fd8e18329 100644 --- a/src/include/wiredtiger_ext.h +++ b/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. |