summaryrefslogtreecommitdiff
path: root/src/python-systemd/pyutil.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-07-17 12:50:13 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-07-17 23:41:10 -0400
commitaffba8e90243526be673ad9f9b306a740b8824a6 (patch)
treedaf8a33909f7d88249006ef04d3d3c7609e9c8e0 /src/python-systemd/pyutil.h
parent1070f974f7a1b6ba012e352b9d635d3902eca244 (diff)
systemd-python: add support for sd_j_open_files
Also export missing flags.
Diffstat (limited to 'src/python-systemd/pyutil.h')
-rw-r--r--src/python-systemd/pyutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python-systemd/pyutil.h b/src/python-systemd/pyutil.h
index ea88840fa..1477e7bf9 100644
--- a/src/python-systemd/pyutil.h
+++ b/src/python-systemd/pyutil.h
@@ -30,6 +30,10 @@ void cleanup_Py_DECREFp(PyObject **p);
PyObject* absolute_timeout(uint64_t t);
int set_error(int r, const char* path, const char* invalid_message);
+#if PY_MAJOR_VERSION >=3 && PY_MINOR_VERSION >= 1
+int Unicode_FSConverter(PyObject* obj, void *_result);
+#endif
+
#define _cleanup_Py_DECREF_ __attribute__((cleanup(cleanup_Py_DECREFp)))
#if PY_MAJOR_VERSION >=3