blob: 31c99ac3c2f80ed20041976058002b1c56f4fec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef PRIOQ_H
#define PRIOQ_H
#include "genalloc.h"
#include "datetime.h"
struct prioq_elt {
datetime_sec dt;
unsigned long id;
};
GEN_ALLOC_typedef(prioq, struct prioq_elt, p, len, a);
int prioq_insert();
int prioq_min();
void prioq_delmin();
#endif
|