summaryrefslogtreecommitdiff
path: root/systemd/pyutil.h
Commit message (Collapse)AuthorAgeFilesLines
* daemon: wrap sd_pid_notify[_with_pids]Zbigniew Jędrzejewski-Szmek2015-10-261-1/+1
| | | | Closes #8.
* tree-wide: systemd→python-systemd in headersZbigniew Jędrzejewski-Szmek2015-08-071-3/+3
|
* Update LICENSE file and classifiersZbigniew Jędrzejewski-Szmek2015-07-051-1/+0
| | | | | | The license was originally MIT, but when this module became part of systemd, it was changed to LGPLv2+. All files had correct headers, so only the LICENSE file needs updating. Take the opportunity to add classifiers to setup.py.
* systemd-python: add support for sd_j_open_filesZbigniew Jędrzejewski-Szmek2015-07-051-0/+4
| | | | Also export missing flags.
* systemd-python: wrap sd_login_monitorZbigniew Jędrzejewski-Szmek2015-07-051-0/+1
|
* systemd-python: add wrappers for easy functions in sd-loginZbigniew Jędrzejewski-Szmek2015-07-051-0/+1
| | | | sd_get_uids, sd_get_seats, sd_get_sessions, and sd_get_machine_names.
* systemd-python: add systemd.daemon wrapping sd-daemonZbigniew Jędrzejewski-Szmek2015-07-051-0/+19
| | | | | | | | | Please see the documentation (e.g. pydoc3 systemd.daemon) for full description. As usual, systemd._daemon wraps the raw interface, while systemd.daemon provides the more pythonic API. sd_listen_fds, sd_booted, sd_is_fifo, sd_is_socket, sd_is_socket_unix, sd_is_socket_inet, sd_is_mq, and SD_LISTEN_FDS_START are currently wrapped.
* python-systemd: check all errors and use automatic cleanupZbigniew Jędrzejewski-Szmek2015-07-051-0/+29
__REALTIME_TIMESTAMP and __MONOTONIC_TIMESTAMP return ints. It doesn't make sense to convert to string, just to convert back to a number later on. Also try to follow systemd rules for indentation.