index_heap.h 584 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * File: dclxvi-20130329/index_heap.h
  3. * Author: Ruben Niederhagen, Peter Schwabe
  4. * Public Domain
  5. */
  6. #ifndef INDEX_HEAP_H
  7. #define INDEX_HEAP_H
  8. #ifdef NEW_PARAMETERS
  9. #include "scalar_512.h"
  10. #else
  11. #include "scalar.h"
  12. #endif
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. void heap_init(unsigned long long *h, unsigned long long hlen, scalar_t *s);
  17. void heap_get2max(unsigned long long *h, unsigned long long *max1, unsigned long long *max2, scalar_t *s);
  18. void heap_rootreplaced(unsigned long long *h, unsigned long long hlen, scalar_t *s);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif