|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Typedefs | |
| typedef int(* | ntfs_collate_func_t )(ntfs_volume *, const void *, const int, const void *, const int) |
Functions | |
| int | ntfs_collate (ntfs_volume *vol, COLLATION_RULE cr, const void *data1, const int data1_len, const void *data2, const int data2_len) |
| int ntfs_collate | ( | ntfs_volume * | vol, |
| COLLATION_RULE | cr, | ||
| const void * | data1, | ||
| const int | data1_len, | ||
| const void * | data2, | ||
| const int | data2_len | ||
| ) |
ntfs_collate - collate two data items using a specified collation rule : ntfs volume to which the data items belong : collation rule to use when comparing the items : first data item to collate : length in bytes of : second data item to collate : length in bytes of
Collate the two data items and using the collation rule and return -1, 0, ir 1 if is found, respectively, to collate before, to match, or to collate after .
For speed we use the collation rule as an index into two tables of function pointers to call the appropriate collation function.
1.8.2