about summary refs log tree commit diff
path: root/shared/systemd/src/basic/async.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2019-01-25 11:24:41 +0100
committerSebastien Bacher <seb128@ubuntu.com>2019-01-25 11:24:41 +0100
commitbbae86d3d2997a853ca0365e8eb7a3ca7489ee09 (patch)
tree1f7fa49b47ab13aea3effbe839559d221f6323b4 /shared/systemd/src/basic/async.h
parent404ebe62622150e77e311777dff8617eb974e834 (diff)
New upstream version 1.15.2
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);