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




Types and Constants



Defined Types


IXComparator

typedef int IXComparator
(const void *data1,
unsigned short length1,
const void *data2,
unsigned short length2,
const void *context);



IXPosting

typedef struct IXPosting {
unsigned handle;
unsigned weight;
} IXPosting;



IXStoreErrorType

typedef enum IXStoreErrorType {
IX_NoError = IX_STOREUSERERRORBASE,
IX_InternalError,
IX_ArgumentError,
IX_QueryEvalError,
IX_QueryTypeError,
IX_QueryAttrError,
IX_QueryImplError,
IX_QueryYaccError,
IX_MemoryError,
IX_LockedError,
IX_MachineError,
IX_VersionError,
IX_DamagedError,
IX_DuplicateError,
IX_NotFoundError,
IX_TooLargeError,
IX_UnixErrorBase = IX_STOREUNIXERRBASE,
IX_MachErrorBase = IX_STOREMACHERRBASE,
} IXStoreErrorType;



Weighting Types

typedef enum {
IX_NoWeighting = 0,
IX_AbsoluteWeighting,
IX_FrequencyWeighting,
IX_PeculiarityWeighting
} IXWeightingType;



Symbolic Constants


IXStore Constants

IX_ALLBLOCKS ((unsigned int)1L)


Indexing Kit Error Base Constants

IX_STOREUSERERRBASE (9000)
IX_STOREMACHERRBASE IX_STOREUSERERRBASE + (100)
IX_STOREUNIXERRBASE IX_STOREUSERERRBASE + (300)



Global Variables


IXStore Pasteboard Type

NXAtom IXStorePboardType;



Indexing Pasteboard Types

NXAtom IXAttributeReaderPboardType;
NXAtom IXFileDescriptionPboardType;