#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/pq_compat.h>
Go to the source code of this file.
Data Structures | |
struct | _pitem |
Typedefs | |
typedef struct _pqueue * | pqueue |
typedef struct _pitem | pitem |
typedef struct _pitem * | piterator |
Functions | |
pitem * | pitem_new (PQ_64BIT priority, void *data) |
void | pitem_free (pitem *item) |
pqueue | pqueue_new (void) |
void | pqueue_free (pqueue pq) |
pitem * | pqueue_insert (pqueue pq, pitem *item) |
pitem * | pqueue_peek (pqueue pq) |
pitem * | pqueue_pop (pqueue pq) |
pitem * | pqueue_find (pqueue pq, PQ_64BIT priority) |
pitem * | pqueue_iterator (pqueue pq) |
pitem * | pqueue_next (piterator *iter) |
void | pqueue_print (pqueue pq) |
void pitem_free | ( | pitem * | item | ) |
pitem* pitem_new | ( | PQ_64BIT | priority, | |
void * | data | |||
) |
void pqueue_free | ( | pqueue | pq | ) |
pqueue pqueue_new | ( | void | ) |
void pqueue_print | ( | pqueue | pq | ) |