summaryrefslogtreecommitdiff
path: root/src/python-systemd/pyutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/python-systemd/pyutil.h')
-rw-r--r--src/python-systemd/pyutil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/python-systemd/pyutil.h b/src/python-systemd/pyutil.h
index 5c7ea37cdb..1477e7bf9c 100644
--- a/src/python-systemd/pyutil.h
+++ b/src/python-systemd/pyutil.h
@@ -28,6 +28,11 @@
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)))