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