A clone of btpd with my configuration changes.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

20 строки
397 B

  1. #ifndef BTPD_TIMEHEAP_H
  2. #define BTPD_TIMEHEAP_H
  3. struct th_handle {
  4. int i;
  5. void *data;
  6. };
  7. int timeheap_init(void);
  8. int timeheap_size(void);
  9. int timeheap_insert(struct th_handle *h, struct timespec *t);
  10. void timeheap_remove(struct th_handle *h);
  11. void timeheap_change(struct th_handle *h, struct timespec *t);
  12. void *timeheap_remove_top(void);
  13. struct timespec timeheap_top(void);
  14. #endif