home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d0xx / d034 / btree.lha / Btree / btree.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-09-03  |  604 b   |  17 lines

  1. /************************************************************************
  2. *
  3. * B-tree header file
  4. *
  5. * This just defines various error codes etc.
  6. *
  7. ***********************************************************************/
  8.  
  9. static char btree_header[] = "@(#)btree.h    1.3 7/16/86";
  10.  
  11. #define    NODE_SPLIT        -1    /* Information code - used internally
  12.                        within insertion code */
  13. #define SUCCESS              0    /* Success code */
  14. #define KEY_EXISTS_ERROR      1    /* Returned by insertion routines */
  15. #define KEY_NOT_FOUND_ERROR     2    /* Returned by deletion & search */
  16. #define TREE_CORRUPTED_ERROR     3    /* Returned by deletion */
  17.