chiark / gitweb /
systemd-python: export new sd_journal_{process,get_events,get_timeout}
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 14 Apr 2013 22:37:03 +0000 (18:37 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Apr 2013 00:17:40 +0000 (20:17 -0400)
commit76a80d93b50db2c87719971050b49bebf339f175
treeadf8b37d558591f9a9555ff697871ded92772bbe
parentf6422def2c10aa0dea1b872d2f187853e61bd015
systemd-python: export new sd_journal_{process,get_events,get_timeout}

get_timeout_ms is added as a convenience function, since
it is abysmally hard to call clock_gettime() in Python
versions lower than 3.3. And even for Python 3.3 users
it saves a few lines.
src/python-systemd/_reader.c