br_mode_test_cbfn
BrFileOpenRead()
60
.
typedef
brfile.h
for a precise declaration)
int br_mode_test_cbfn(const br_uint_8*, br_size_t) Test file's mode
Pointer to
Number of characters pointed to.
If the file is binary return
Specification
Description:
An application defined call-back function determining the type of a file from a given number of characters (specified with the call-back function) from the start of the file.CBFnModeTest()
int BR_CALLBACK CBFnModeTest(const br_uint_8* magics, br_size_t n_magics)
const br_uint_8 * magics
n_magics
characters.br_size_t n_magics
int
BR_FS_MODE_BINARY
, if text return BR_FS_MODE_TEXT
, otherwise return BR_FS_MODE_UNKNOWN
.
Generated with CERN WebMaker