| author | "Tomas Zeman <tomas.zeman@sun.com>" |
| Fri, 19 Oct 2007 14:06:22 +0200 | |
| changeset 0 | 068428edee47 |
| permissions | -rw-r--r-- |
| 0 | 1 |
#ifndef PRIOQ_H |
2 |
#define PRIOQ_H |
|
3 |
||
4 |
#include "datetime.h" |
|
5 |
#include "gen_alloc.h" |
|
6 |
||
7 |
struct prioq_elt { datetime_sec dt; unsigned long id; } ;
|
|
8 |
||
9 |
GEN_ALLOC_typedef(prioq,struct prioq_elt,p,len,a) |
|
10 |
||
11 |
extern int prioq_insert(); |
|
12 |
extern int prioq_min(); |
|
13 |
extern void prioq_delmin(); |
|
14 |
||
15 |
#endif |