Table of WiredTiger extension functions. More...
Public Attributes | |
int(* | err_printf )(WT_SESSION *, const char *fmt,...) |
Insert an error message into the WiredTiger error stream. | |
void *(* | scr_alloc )(WT_SESSION *, size_t bytes) |
Allocate short-term use scratch memory. | |
void(* | scr_free )(WT_SESSION *, void *ref) |
Free short-term use scratch memory. | |
Table of WiredTiger extension functions.
This structure is used to avoid the need to link extension modules with the library.
int(* WT_EXTENSION_API::err_printf)(WT_SESSION *, const char *fmt,...) |
Insert an error message into the WiredTiger error stream.
session | the session handle |
fmt | a printf-like format specification |
void*(* WT_EXTENSION_API::scr_alloc)(WT_SESSION *, size_t bytes) |
Allocate short-term use scratch memory.
session | the session handle |
bytes | the number of bytes of memory needed |
void(* WT_EXTENSION_API::scr_free)(WT_SESSION *, void *ref) |
Free short-term use scratch memory.
session | the session handle |
ref | a memory reference returned by WT_EXTENSION_API::scr_alloc |