summaryrefslogtreecommitdiff
path: root/src/python-systemd/pyutil.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-08 19:46:49 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-08 21:35:03 -0400
commit539e0a4d583bca7db837275b07a20a933b7f8f83 (patch)
tree2a6b6a275354d289d5301bc3f1b9c6f35733ef94 /src/python-systemd/pyutil.h
parent5afbe712db5cc68213a24c45396ffb43fab05e3e (diff)
systemd-python: add wrappers for easy functions in sd-login
sd_get_uids, sd_get_seats, sd_get_sessions, and sd_get_machine_names.
Diffstat (limited to 'src/python-systemd/pyutil.h')
-rw-r--r--src/python-systemd/pyutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python-systemd/pyutil.h b/src/python-systemd/pyutil.h
index 2163fda9ef..5c7ea37cdb 100644
--- a/src/python-systemd/pyutil.h
+++ b/src/python-systemd/pyutil.h
@@ -27,6 +27,7 @@
#endif
void cleanup_Py_DECREFp(PyObject **p);
+PyObject* absolute_timeout(uint64_t t);
#define _cleanup_Py_DECREF_ __attribute__((cleanup(cleanup_Py_DECREFp)))