summaryrefslogtreecommitdiffstats
path: root/prioq.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /prioq.h
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'prioq.h')
-rw-r--r--prioq.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/prioq.h b/prioq.h
new file mode 100644
index 0000000..32a0d7c
--- /dev/null
+++ b/prioq.h
@@ -0,0 +1,15 @@
1#ifndef PRIOQ_H
2#define PRIOQ_H
3
4#include "datetime.h"
5#include "gen_alloc.h"
6
7struct prioq_elt { datetime_sec dt; unsigned long id; } ;
8
9GEN_ALLOC_typedef(prioq,struct prioq_elt,p,len,a)
10
11extern int prioq_insert();
12extern int prioq_min();
13extern void prioq_delmin();
14
15#endif