23#ifndef OLAF_FP_MATCHER_H 
   24#define OLAF_FP_MATCHER_H 
   42    typedef void (*
Olaf_FP_Matcher_Result_Callback)(
int matchCount, 
float queryStart, 
float queryStop, 
const char* path, uint32_t matchIdentifier, 
float referenceStart, 
float referenceStop);
 
Olaf configuration pramameters.
 
Olaf fingerprint database.
 
void olaf_fp_matcher_print_results(Olaf_FP_Matcher *olaf_fp_matcher)
Print the current results.
Definition olaf_fp_matcher.c:282
 
void olaf_fp_matcher_match(Olaf_FP_Matcher *olaf_fp_matcher, struct extracted_fingerprints *olaf_fps)
Match fingerprints with the database.
Definition olaf_fp_matcher.c:231
 
void(* Olaf_FP_Matcher_Result_Callback)(int matchCount, float queryStart, float queryStop, const char *path, uint32_t matchIdentifier, float referenceStart, float referenceStop)
Callback function template to respond to a result.
Definition olaf_fp_matcher.h:42
 
void olaf_fp_matcher_callback_print_result(int matchCount, float queryStart, float queryStop, const char *path, uint32_t matchIdentifier, float referenceStart, float referenceStop)
Prints a match result using the specified format.
Definition olaf_fp_matcher.c:276
 
Olaf_FP_Matcher * olaf_fp_matcher_new(Olaf_Config *config, Olaf_DB *db, Olaf_FP_Matcher_Result_Callback callback)
Initialize a new matcher.
Definition olaf_fp_matcher.c:116
 
void olaf_fp_matcher_destroy(Olaf_FP_Matcher *olaf_fp_matcher)
Free used memory and resources, does not close the database resources!
Definition olaf_fp_matcher.c:354
 
void olaf_fp_matcher_callback_print_header(void)
Print a header for the CSV output.
Definition olaf_fp_matcher.c:273
 
Configuration parameters defining the behaviour of Olaf.
Definition olaf_config.h:48
 
A struct with state information on the data store.
Definition olaf_db.c:27
 
A matcher matches extracted fingerprints with a database. A struct to keep the internal state of the ...
Definition olaf_fp_matcher.c:54