OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Typedefs | Functions
pqueue.c File Reference
#include "cryptlib.h"
#include <openssl/bn.h>
#include "pqueue.h"

Go to the source code of this file.

Classes

struct  _pqueue
 

Typedefs

typedef struct _pqueue pqueue_s
 

Functions

pitempitem_new (unsigned char *prio64be, void *data)
 
void pitem_free (pitem *item)
 
pqueue_spqueue_new ()
 
void pqueue_free (pqueue_s *pq)
 
pitempqueue_insert (pqueue_s *pq, pitem *item)
 
pitempqueue_peek (pqueue_s *pq)
 
pitempqueue_pop (pqueue_s *pq)
 
pitempqueue_find (pqueue_s *pq, unsigned char *prio64be)
 
void pqueue_print (pqueue_s *pq)
 
pitempqueue_iterator (pqueue_s *pq)
 
pitempqueue_next (pitem **item)
 
int pqueue_size (pqueue_s *pq)
 

Typedef Documentation

typedef struct _pqueue pqueue_s

Function Documentation

void pitem_free ( pitem item)

Definition at line 85 of file pqueue.c.

pitem* pitem_new ( unsigned char *  prio64be,
void data 
)

Definition at line 71 of file pqueue.c.

pitem* pqueue_find ( pqueue_s pq,
unsigned char *  prio64be 
)

Definition at line 168 of file pqueue.c.

void pqueue_free ( pqueue_s pq)

Definition at line 103 of file pqueue.c.

pitem* pqueue_insert ( pqueue_s pq,
pitem item 
)

Definition at line 111 of file pqueue.c.

pitem* pqueue_iterator ( pqueue_s pq)

Definition at line 219 of file pqueue.c.

pqueue_s* pqueue_new ( void  )

Definition at line 93 of file pqueue.c.

pitem* pqueue_next ( pitem **  item)

Definition at line 225 of file pqueue.c.

pitem* pqueue_peek ( pqueue_s pq)

Definition at line 151 of file pqueue.c.

pitem* pqueue_pop ( pqueue_s pq)

Definition at line 157 of file pqueue.c.

void pqueue_print ( pqueue_s pq)

Definition at line 203 of file pqueue.c.

int pqueue_size ( pqueue_s pq)

Definition at line 241 of file pqueue.c.