Custom Key Types
The following steps are required to add your own custom keys:
- Set ISCUSTOM to 1 in isconfig.h
- Set ISCUSTKEYS to 1 in iscustom.h, and add defines for the key
type(s) and size(s) you require.
- Add a case for each key type to the switch statement in isCustCmp()
in base/iscustom.c. Each case should set retc to a negative value
if key one is less than key two, positive if greater, and zero if
equal.
- Remove the sample key types unless you need them.
Please be careful, if/when applying updates, that you do not overwrite
any changes you have made to these files.