summaryrefslogtreecommitdiff
path: root/prioq.h
blob: 32a0d7c023d6d576453892f1285824af237a0001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PRIOQ_H
#define PRIOQ_H

#include "datetime.h"
#include "gen_alloc.h"

struct prioq_elt { datetime_sec dt; unsigned long id; } ;

GEN_ALLOC_typedef(prioq,struct prioq_elt,p,len,a)

extern int prioq_insert();
extern int prioq_min();
extern void prioq_delmin();

#endif