wiredtiger_config_validate

Function wiredtiger_config_validate 

Source
pub unsafe extern "C" fn wiredtiger_config_validate(
    session: *mut WT_SESSION,
    event_handler: *mut WT_EVENT_HANDLER,
    name: *const c_char,
    config: *const c_char,
) -> c_int
Expand description

Validate a configuration string for a WiredTiger API. This API is outside the scope of a WiredTiger connection handle, since applications may need to validate configuration strings prior to calling ::wiredtiger_open. @param session the session handle (may be \c NULL if the database not yet opened). @param event_handler An event handler (used if \c session is \c NULL; if both \c session and \c event_handler are \c NULL, error messages will be written to stderr). @param name the WiredTiger function or method to validate. @param config the configuration string being parsed. @returns zero for success, non-zero to indicate an error.

@snippet ex_all.c Validate a configuration string