systemd/src/login
Lennart Poettering 309a747fa6 libsystemd: turn json.[ch] into a public API
This is preparation for making our Varlink API a public API. Since our
Varlink API is built on top of our JSON API we need to make that public
first (it's a nice API, but JSON APIs there are already enough, this is
purely about the Varlink angle).

I made most of the json.h APIs public, and just placed them in
sd-json.h. Sometimes I wasn't so sure however, since the underlying data
structures would have to be made public too. If in doubt I didn#t risk
it, and moved the relevant API to src/libsystemd/sd-json/json-util.h
instead (without any sd_* symbol prefixes).

This is mostly a giant search/replace patch.
2024-06-12 18:42:22 +02:00
..
inhibit.c tree-wide: Use log_setup() everywhere 2024-04-25 17:06:43 +02:00
loginctl.c libsystemd: turn json.[ch] into a public API 2024-06-12 18:42:22 +02:00
logind-action.c use FOREACH_ELEMENT 2024-04-18 17:39:34 +02:00
logind-action.h logind-action: also check .target unit state when selecting sleep action 2024-01-17 13:28:19 +00:00
logind-brightness.c process-util: add new FORK_DEATHSIG_SIGKILL flag, rename FORK_DEATHSIG → FORK_DEATHSIG_SIGTERM 2023-11-02 14:09:23 +01:00
logind-brightness.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
logind-button.c logind: Mark LidClosed property as "emits change" 2024-01-10 19:31:06 +00:00
logind-button.h logind-core: modernize button_free() 2023-04-27 21:42:38 +02:00
logind-core.c logind: do not fail creating a session when request is not from a unit 2024-05-20 13:14:50 +01:00
logind-dbus.c logind: use SD_BUS_ERROR_ACCESS_DENIED 2024-05-21 18:32:36 +02:00
logind-dbus.h logind: Add fallback for when the PIDFDs= property is not available 2024-03-21 16:17:15 +01:00
logind-device.c Rename {dual,triple}_timestamp_get to {dual,triple}_timestamp_now 2023-11-13 13:27:07 +01:00
logind-device.h logind-device: remove unneeded 'struct' 2024-03-02 23:50:26 +08:00
logind-gperf.gperf logind: introduce Sleep() call and action that automatically choose a sleep operation 2023-12-05 22:18:32 +08:00
logind-inhibit.c logind-inhibit: get rid of basename() in inhibitor_new() 2024-03-12 10:43:31 +01:00
logind-inhibit.h logind-inhibit: get rid of basename() in inhibitor_new() 2024-03-12 10:43:31 +01:00
logind-polkit.c polkit: simplify bus_verify_polkit_async() + drop auth-by-cap dbus feature 2023-12-22 05:27:36 +09:00
logind-polkit.h tree-wide: fix SPDX short identifier for LGPL-2.1-or-later 2021-10-01 17:27:34 +01:00
logind-seat-dbus.c polkit: simplify bus_verify_polkit_async() + drop auth-by-cap dbus feature 2023-12-22 05:27:36 +09:00
logind-seat-dbus.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
logind-seat.c logind-{session,seat}: get rid of basename() in _new() 2024-03-03 00:00:28 +08:00
logind-seat.h logind: place 'ret' param at last 2024-03-02 23:50:26 +08:00
logind-session-dbus.c polkit: turn "interactive" flag to polkit APIs into a proper flags field (#31715) 2024-03-11 11:57:45 +00:00
logind-session-dbus.h logind: add ability to upgrade session class from 'user-incomplete' to 'user' 2024-02-14 15:00:46 +01:00
logind-session-device.c various: use strdup_to() in various obvious cases 2024-03-20 15:13:44 +01:00
logind-session-device.h logind-session-device: trivial modernizations 2024-01-03 23:22:57 +08:00
logind-session.c logind: Add fallback for when the PIDFDs= property is not available 2024-03-21 16:17:15 +01:00
logind-session.h logind-{session,seat}: get rid of basename() in _new() 2024-03-03 00:00:28 +08:00
logind-user-dbus.c polkit: turn "interactive" flag to polkit APIs into a proper flags field (#31715) 2024-03-11 11:57:45 +00:00
logind-user-dbus.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
logind-user.c login: re-used -> reused 2024-06-11 15:52:13 +09:00
logind-user.h logind-user: add missing assertion for user_check_linger_file 2024-05-29 00:50:07 +08:00
logind-wall.c logind: take HandleAction instead of HandleActionData at several places 2023-12-05 22:18:31 +08:00
logind.c tree-wide: refuse enumerated device with ID_PROCESSING=1 2024-04-05 01:49:20 +09:00
logind.conf.in logind: introduce Sleep() call and action that automatically choose a sleep operation 2023-12-05 22:18:32 +08:00
logind.h logind: introduce Sleep() call and action that automatically choose a sleep operation 2023-12-05 22:18:32 +08:00
meson.build dynamically load compression libraries 2024-03-05 12:37:21 +01:00
org.freedesktop.login1.conf logind: make ReleaseSession "unprivileged" and allow closing of own session 2024-05-20 20:59:15 +02:00
org.freedesktop.login1.policy Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
org.freedesktop.login1.service license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
pam_systemd.c libsystemd: turn json.[ch] into a public API 2024-06-12 18:42:22 +02:00
pam_systemd.sym license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
pam_systemd_loadkey.c Merge pull request #32547 from YHNdnzj/minor-cleanup 2024-04-29 21:08:06 +08:00
pam_systemd_loadkey.sym New PAM module: pam_systemd_loadkey 2023-10-31 18:20:23 +08:00
sysfs-show.c basic: rename util.h to logarithm.h 2022-11-08 18:21:10 +01:00
sysfs-show.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
systemd-user.in pam: add call to pam_umask 2023-06-07 10:51:45 +02:00
test-inhibit.c test: always call test_setup_logging() 2023-11-18 03:04:27 +09:00
test-login-shared.c test: Use TEST macros in more places 2022-03-16 14:50:12 +01:00
test-login-tables.c test-login: remove dead code 2023-12-09 13:17:02 +00:00
test-session-properties.c login: use NULL to denote arg-less method call 2023-05-24 08:32:13 +02:00
user-runtime-dir.c tree-wide: Use log_setup() everywhere 2024-04-25 17:06:43 +02:00