wiredtiger_config_parser_open

Function wiredtiger_config_parser_open 

Source
pub unsafe extern "C" fn wiredtiger_config_parser_open(
    session: *mut WT_SESSION,
    config: *const c_char,
    len: usize,
    config_parserp: *mut *mut WT_CONFIG_PARSER,
) -> c_int
Expand description

Create a handle that can be used to parse or create configuration strings compatible with WiredTiger APIs. This API is outside the scope of a WiredTiger connection handle, since applications may need to generate configuration strings prior to calling ::wiredtiger_open. @param session the session handle to be used for error reporting (if NULL, error messages will be written to stderr). @param config the configuration string being parsed. The string must remain valid for the lifetime of the parser handle. @param len the number of valid bytes in \c config @param[out] config_parserp A pointer to the newly opened handle @errors

@snippet ex_config_parse.c Create a configuration parser