Provides information about how to recognize a particular file type.
struct dtsRecognitionSignature { long offset; short length; char * text; char convertToUpper; char patternMatch; short confidence; };
dtsviewr.h
|
Members |
Description |
|
long offset; |
Position in the file where the pattern would be |
|
short length; |
Length of the pattern |
|
char * text; |
Text to compare against the text in the file |
|
char convertToUpper; |
Convert text in file to upper case before matching |
|
char patternMatch; |
Signature contains wildcards * and/or ? |
|
short confidence; |
Ranges from 1 to dtsMaxConfidence |
dtsRecognitionSignature is supplied as part of the dtsViewerInfo that a viewer uses to register itself.
|
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.
|