summary refs log tree commit diff
path: root/shared/systemd/src/basic/async.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-03-26 23:25:23 +0100
committerMichael Biebl <biebl@debian.org>2019-03-26 23:25:23 +0100
commit9a6dcbf895f9da01768e64b73cec88c16157d91e (patch)
treea359958930d731e9f1b59344642e10754419fe84 /shared/systemd/src/basic/async.h
parent964ae8cc391520440cf5aa13e2b9cc34850ea6c2 (diff)
New upstream version 1.16.0 upstream/1.16.0
Diffstat (limited to 'shared/systemd/src/basic/async.h')
-rw-r--r--shared/systemd/src/basic/async.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/systemd/src/basic/async.h b/shared/systemd/src/basic/async.h
new file mode 100644
index 00000000..31606131
--- /dev/null
+++ b/shared/systemd/src/basic/async.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+int asynchronous_job(void* (*func)(void *p), void *arg);
+
+int asynchronous_sync(pid_t *ret_pid);
+int asynchronous_close(int fd);