Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.




Functions



Comparator Functions



Compare two sets of data as arrays of various types and return their ordering

int IXCompareBytes(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareUnsignedBytes(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareShorts(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareUnsignedShorts(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareLongs(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareUnsignedLongs(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareFloats(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareDoubles(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareShort(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareUnsignedShort(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareLong(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareUnsignedLong(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareFloat(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareDouble(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareStringAndUnsigneds(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareUnsignedAndStrings(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareStrings(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)
int IXCompareMonocaseStrings(const void *data1, unsigned short length1, const void *data2, unsigned short length2, const void *context)



Comparison Format Functions



Compare two arrays of data based on a type encoding and return their ordering

int IXFormatComparator(const void *data1, unsigned short length1, const void *data2, unsigned short length2, void *format)



IXBTree Locking Macros



Lock and unlock an IXBTree for thread-safe access

void IXLockBTreeMutex(IXBTree *aBTree)
void IXUnlockBTreeMutex(IXBTree *aBTree)



IXStoreBlock Archiving Functions



Archive or unarchive an object to or from an IXStore

unsigned int IXWriteRootObjectToStore(IXStore *aStore, unsigned int aHandle, id anObject)
id IXReadObjectFromStore(IXStore *aStore, unsigned int aHandle, NXZone *aZone)