summaryrefslogtreecommitdiffstats
path: root/src/shared/prioq.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-21 22:50:25 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-21 22:53:29 +0100
commite3017af97310da024ffb378ed155bc1676922ce7 (patch)
treea09b0a555b89f7ec00d0ab62294770db99c5642a /src/shared/prioq.h
parenthwdb: update (diff)
downloadsystemd-e3017af97310da024ffb378ed155bc1676922ce7.tar.xz
systemd-e3017af97310da024ffb378ed155bc1676922ce7.zip
bus: implement full method call timeout logic
Diffstat (limited to 'src/shared/prioq.h')
-rw-r--r--src/shared/prioq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/prioq.h b/src/shared/prioq.h
index 1b5b05e7c7..17679b2aaf 100644
--- a/src/shared/prioq.h
+++ b/src/shared/prioq.h
@@ -27,6 +27,7 @@ typedef struct Prioq Prioq;
Prioq *prioq_new(compare_func_t compare);
void prioq_free(Prioq *q);
+int prioq_ensure_allocated(Prioq **q, compare_func_t compare_func);
int prioq_put(Prioq *q, void *data, unsigned *idx);
int prioq_remove(Prioq *q, void *data, unsigned *idx);