chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getty-generator: look add an environment variable $container_ttys set for PID 1 and...
[elogind.git]
/
src
/
python-systemd
/
pyutil.h
diff --git
a/src/python-systemd/pyutil.h
b/src/python-systemd/pyutil.h
index 5c7ea37cdbaaf927abb8da9b0f8a8fc936eeb00f..1477e7bf9c4aa8fa3ec64f62ca537e10f9bd6e33 100644
(file)
--- 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);
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)))
#define _cleanup_Py_DECREF_ __attribute__((cleanup(cleanup_Py_DECREFp)))