X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpython-systemd%2Fpyutil.h;h=ea88840fa7fc7575c58aeb0bc64ac717012fc9b7;hb=7ecec4705c0cacb1446af0eb7a4aee66c00d058f;hp=5c7ea37cdbaaf927abb8da9b0f8a8fc936eeb00f;hpb=539e0a4d583bca7db837275b07a20a933b7f8f83;p=elogind.git diff --git a/src/python-systemd/pyutil.h b/src/python-systemd/pyutil.h index 5c7ea37cd..ea88840fa 100644 --- a/src/python-systemd/pyutil.h +++ b/src/python-systemd/pyutil.h @@ -28,6 +28,7 @@ void cleanup_Py_DECREFp(PyObject **p); PyObject* absolute_timeout(uint64_t t); +int set_error(int r, const char* path, const char* invalid_message); #define _cleanup_Py_DECREF_ __attribute__((cleanup(cleanup_Py_DECREFp)))