btree.h 433 B

1234567891011121314151617181920212223
  1. #ifndef GRASS_BTREEDEFS_H
  2. #define GRASS_BTREEDEFS_H
  3. /* create.c */
  4. int btree_create(BTREE *, int (*)(const void *, const void *), int);
  5. /* find.c */
  6. int btree_find(const BTREE *, const void *, void **);
  7. /* free.c */
  8. int btree_free(BTREE *);
  9. /* next.c */
  10. int btree_next(BTREE *, void **, void **);
  11. /* rewind.c */
  12. int btree_rewind(BTREE *);
  13. /* update.c */
  14. int btree_update(BTREE *, const void *, int, const void *, int);
  15. #endif