This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.

The procedure is defined as:

proc nsmcp::accessScanCandidate {raw start end stateVar fileVar statsVar options redactor limits} {
    
    upvar 1 $stateVar state $fileVar file $statsVar stats
    dict incr stats examinedRecords
    if {[string length $raw]>[dict get $limits line]} {
        dict incr stats oversizedRecords
        dict set file rangeUncertain true
        return
    }
    set text [encoding convertfrom utf-8 [string trimright $raw \r]]
    regsub -all {\x1b\[[0-9;]*m} $text {} text
    set row [::nsmcp::accessRecordParser parse $text]
    if {$row eq ""} {
        dict incr stats parseErrors
        dict set file rangeUncertain true
        return
    }
    accessScanRangeAdd file $row $options
    set time [dict get $row startTime]
    foreach key {earliestAt latestAt} {
        if {[dict get $stats $key] eq "" || ($key eq "earliestAt" && $time<[dict get $stats $key])
            || ($key eq "latestAt" && $time>[dict get $stats $key])} {
            dict set stats $key $time
        }
    }
    accessScanAdd stats $row $file $start $options $redactor $limits

}

Show another procedure: