NTFS_COLLATE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ntfs_collate - collate two data items using a specified collation rule  

SYNOPSIS

"SYNOPSIS"

int ntfs_collate (ntfs_volume * vol, COLLATION_RULE cr, const void * data1, const int data1_len, const void * data2, const int data2_len);  

ARGUMENTS

vol
ntfs volume to which the data items belong
cr
collation rule to use when comparing the items
data1
first data item to collate
data1_len
length in bytes of data1
data2
second data item to collate
data2_len
length in bytes of data2
 

DESCRIPTION

Collate the two data items data1 and data2 using the collation rule cr and return -1, 0, ir 1 if data1 is found, respectively, to collate before, to match, or to collate after data2.

For speed we use the collation rule cr as an index into two tables of function pointers to call the appropriate collation function.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:33 GMT, October 09, 2005