X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpython-systemd%2Fpyutil.h;h=1477e7bf9c4aa8fa3ec64f62ca537e10f9bd6e33;hb=b560cc1c45006a98c7652435df13c96b39827f22;hp=2163fda9ef96989c94aaf3d54e295857e25f0def;hpb=b04c8c83e8d5670b0923c7cd7d6ea622b0187289;p=elogind.git diff --git a/src/python-systemd/pyutil.h b/src/python-systemd/pyutil.h index 2163fda9e..1477e7bf9 100644 --- a/src/python-systemd/pyutil.h +++ b/src/python-systemd/pyutil.h @@ -27,6 +27,12 @@ #endif 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)))