ocssw
V2022
|
pqueue.h File Reference
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
pqueue * | pqueue_create () |
void | pqueue_destroy (pqueue *pq) |
void | pqueue_push (pqueue *pq, double priority, void *item) |
void | pqueue_repush (pqueue *pq, double priority, void *item) |
void * | pqueue_pull (pqueue *pq) |
void | pqueue_display (pqueue *pq, void(*print_item)(void *item)) |
Function Documentation
◆ pqueue_create()
pqueue* pqueue_create | ( | ) |
Definition at line 18 of file pqueue-ll.c.
◆ pqueue_destroy()
void pqueue_destroy | ( | pqueue * | pq | ) |
Definition at line 24 of file pqueue-ll.c.
◆ pqueue_display()
void pqueue_display | ( | pqueue * | pq, |
void(*)(void *item) | print_item | ||
) |
Definition at line 106 of file pqueue-ll.c.
◆ pqueue_pull()
void* pqueue_pull | ( | pqueue * | pq | ) |
Definition at line 94 of file pqueue-ll.c.
◆ pqueue_push()
void pqueue_push | ( | pqueue * | pq, |
double | priority, | ||
void * | item | ||
) |
Definition at line 34 of file pqueue-ll.c.
◆ pqueue_repush()
void pqueue_repush | ( | pqueue * | pq, |
double | priority, | ||
void * | item | ||
) |
Definition at line 54 of file pqueue-ll.c.