2013-02-03 07:47:47 +04:00
# Do not edit. Generated by make-man-rules.py.
2014-03-07 08:24:30 +04:00
# To regenerate:
# 1. Create, update, or remove source .xml files in man/
# 2. Run 'make update-man-list'
# 3. Run 'make man' to generate manpages
#
# To make a man page conditional on a configure switch add
# attribute conditional="ENABLE_WHAT" or conditional="WITH_WHAT"
# to <refentry> element.
2013-02-03 07:38:33 +04:00
MANPAGES += \
man/bootup.7 \
2014-01-12 08:44:34 +04:00
man/busctl.1 \
2013-02-03 07:38:33 +04:00
man/daemon.7 \
2014-06-30 21:05:17 +04:00
man/file-hierarchy.7 \
2013-02-03 07:38:33 +04:00
man/halt.8 \
man/hostname.5 \
man/journalctl.1 \
man/journald.conf.5 \
man/kernel-command-line.7 \
2013-02-22 20:18:47 +04:00
man/kernel-install.8 \
2015-06-17 16:11:11 +03:00
man/libudev.3 \
2013-02-03 07:38:33 +04:00
man/locale.conf.5 \
man/localtime.5 \
man/machine-id.5 \
man/machine-info.5 \
2016-07-14 20:19:49 +03:00
man/nss-systemd.8 \
2013-02-03 07:38:33 +04:00
man/os-release.5 \
2015-06-23 20:37:28 +03:00
man/sd-bus-errors.3 \
2016-01-26 04:20:58 +03:00
man/sd-bus.3 \
2013-02-03 07:38:33 +04:00
man/sd-daemon.3 \
2015-11-20 01:38:54 +03:00
man/sd-event.3 \
2013-02-03 07:38:33 +04:00
man/sd-id128.3 \
man/sd-journal.3 \
man/sd_booted.3 \
2016-06-21 18:52:32 +03:00
man/sd_bus_add_match.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_pid.3 \
man/sd_bus_creds_new_from_pid.3 \
man/sd_bus_default.3 \
man/sd_bus_error.3 \
2015-06-23 20:37:28 +03:00
man/sd_bus_error_add_map.3 \
2016-06-21 18:52:32 +03:00
man/sd_bus_get_fd.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_message_append.3 \
man/sd_bus_message_append_array.3 \
man/sd_bus_message_append_basic.3 \
man/sd_bus_message_append_string_memfd.3 \
man/sd_bus_message_append_strv.3 \
man/sd_bus_message_get_cookie.3 \
man/sd_bus_message_get_monotonic_usec.3 \
2016-06-21 18:52:32 +03:00
man/sd_bus_message_read_basic.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_negotiate_fds.3 \
man/sd_bus_new.3 \
man/sd_bus_path_encode.3 \
2016-06-21 18:52:32 +03:00
man/sd_bus_process.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_request_name.3 \
2016-08-15 15:59:59 +03:00
man/sd_bus_track_add_name.3 \
man/sd_bus_track_new.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_add_child.3 \
man/sd_event_add_defer.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_add_io.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_add_signal.3 \
man/sd_event_add_time.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_exit.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_get_fd.3 \
man/sd_event_new.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_now.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_run.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_set_watchdog.3 \
man/sd_event_source_get_event.3 \
man/sd_event_source_get_pending.3 \
man/sd_event_source_set_description.3 \
man/sd_event_source_set_enabled.3 \
man/sd_event_source_set_prepare.3 \
man/sd_event_source_set_priority.3 \
man/sd_event_source_set_userdata.3 \
man/sd_event_source_unref.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_wait.3 \
2013-02-03 07:38:33 +04:00
man/sd_id128_get_machine.3 \
man/sd_id128_randomize.3 \
man/sd_id128_to_string.3 \
man/sd_is_fifo.3 \
man/sd_journal_add_match.3 \
2016-01-27 20:59:29 +03:00
man/sd_journal_enumerate_fields.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_get_catalog.3 \
man/sd_journal_get_cursor.3 \
man/sd_journal_get_cutoff_realtime_usec.3 \
man/sd_journal_get_data.3 \
man/sd_journal_get_fd.3 \
man/sd_journal_get_realtime_usec.3 \
man/sd_journal_get_usage.3 \
2016-02-01 11:23:58 +03:00
man/sd_journal_has_runtime_files.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_next.3 \
man/sd_journal_open.3 \
man/sd_journal_print.3 \
man/sd_journal_query_unique.3 \
man/sd_journal_seek_head.3 \
man/sd_journal_stream_fd.3 \
man/sd_listen_fds.3 \
2014-10-18 18:06:21 +04:00
man/sd_machine_get_class.3 \
2013-02-03 07:38:33 +04:00
man/sd_notify.3 \
2013-12-23 01:14:05 +04:00
man/sd_watchdog_enabled.3 \
2013-02-03 07:38:33 +04:00
man/shutdown.8 \
man/sysctl.d.5 \
man/systemctl.1 \
man/systemd-analyze.1 \
man/systemd-ask-password-console.service.8 \
man/systemd-ask-password.1 \
man/systemd-cat.1 \
man/systemd-cgls.1 \
man/systemd-cgtop.1 \
2014-06-19 19:06:35 +04:00
man/systemd-debug-generator.8 \
2013-02-03 07:38:33 +04:00
man/systemd-delta.1 \
man/systemd-detect-virt.1 \
2014-07-08 00:48:25 +04:00
man/systemd-escape.1 \
2013-02-03 07:38:33 +04:00
man/systemd-fsck@.service.8 \
man/systemd-fstab-generator.8 \
man/systemd-getty-generator.8 \
2013-08-13 23:57:43 +04:00
man/systemd-gpt-auto-generator.8 \
2013-02-03 07:38:33 +04:00
man/systemd-halt.service.8 \
2014-08-27 00:17:45 +04:00
man/systemd-hibernate-resume-generator.8 \
2014-08-27 00:17:44 +04:00
man/systemd-hibernate-resume@.service.8 \
2013-02-03 07:38:33 +04:00
man/systemd-inhibit.1 \
man/systemd-initctl.service.8 \
man/systemd-journald.service.8 \
2014-12-03 19:01:54 +03:00
man/systemd-machine-id-commit.service.8 \
2013-02-03 07:38:33 +04:00
man/systemd-machine-id-setup.1 \
2016-08-06 01:32:46 +03:00
man/systemd-mount.1 \
2013-02-03 07:38:33 +04:00
man/systemd-notify.1 \
man/systemd-nspawn.1 \
2014-07-02 14:23:36 +04:00
man/systemd-path.1 \
2013-02-03 07:38:33 +04:00
man/systemd-remount-fs.service.8 \
2016-01-21 02:04:19 +03:00
man/systemd-resolve.1 \
2013-07-10 09:24:46 +04:00
man/systemd-run.1 \
2013-05-04 20:31:28 +04:00
man/systemd-sleep.conf.5 \
2016-02-12 06:11:33 +03:00
man/systemd-socket-activate.1 \
2013-11-28 00:14:56 +04:00
man/systemd-socket-proxyd.8 \
2013-02-03 07:38:33 +04:00
man/systemd-suspend.service.8 \
man/systemd-sysctl.service.8 \
man/systemd-system-update-generator.8 \
2013-02-11 23:42:24 +04:00
man/systemd-system.conf.5 \
2014-06-30 00:15:01 +04:00
man/systemd-sysusers.8 \
2013-02-03 07:38:33 +04:00
man/systemd-tmpfiles.8 \
man/systemd-tty-ask-password-agent.1 \
man/systemd-udevd.service.8 \
2014-07-01 02:16:17 +04:00
man/systemd-update-done.service.8 \
2016-12-13 14:45:19 +03:00
man/systemd-volatile-root.service.8 \
2013-02-03 07:38:33 +04:00
man/systemd.1 \
man/systemd.automount.5 \
man/systemd.device.5 \
man/systemd.exec.5 \
2015-02-11 07:17:59 +03:00
man/systemd.generator.7 \
2013-02-03 07:38:33 +04:00
man/systemd.journal-fields.7 \
man/systemd.kill.5 \
2014-03-07 08:24:30 +04:00
man/systemd.link.5 \
2013-02-03 07:38:33 +04:00
man/systemd.mount.5 \
2015-09-06 02:22:14 +03:00
man/systemd.nspawn.5 \
2015-07-28 15:16:11 +03:00
man/systemd.offline-updates.7 \
2013-02-03 07:38:33 +04:00
man/systemd.path.5 \
man/systemd.preset.5 \
2013-09-27 02:05:07 +04:00
man/systemd.resource-control.5 \
2013-07-10 09:25:02 +04:00
man/systemd.scope.5 \
2013-02-03 07:38:33 +04:00
man/systemd.service.5 \
2013-07-10 09:25:02 +04:00
man/systemd.slice.5 \
2013-02-03 07:38:33 +04:00
man/systemd.socket.5 \
man/systemd.special.7 \
man/systemd.swap.5 \
man/systemd.target.5 \
man/systemd.time.7 \
man/systemd.timer.5 \
man/systemd.unit.5 \
man/telinit.8 \
man/tmpfiles.d.5 \
man/udev.7 \
2014-07-31 12:01:19 +04:00
man/udev.conf.5 \
2015-06-17 16:11:11 +03:00
man/udev_device_get_syspath.3 \
man/udev_device_has_tag.3 \
man/udev_device_new_from_syspath.3 \
man/udev_enumerate_add_match_subsystem.3 \
man/udev_enumerate_new.3 \
man/udev_enumerate_scan_devices.3 \
man/udev_list_entry.3 \
man/udev_monitor_filter_update.3 \
man/udev_monitor_new_from_netlink.3 \
man/udev_monitor_receive_device.3 \
man/udev_new.3 \
2013-02-03 07:38:33 +04:00
man/udevadm.8
MANPAGES_ALIAS += \
man/SD_ALERT.3 \
2015-06-23 20:37:28 +03:00
man/SD_BUS_ERROR_ACCESS_DENIED.3 \
man/SD_BUS_ERROR_ADDRESS_IN_USE.3 \
man/SD_BUS_ERROR_AUTH_FAILED.3 \
man/SD_BUS_ERROR_BAD_ADDRESS.3 \
man/SD_BUS_ERROR_DISCONNECTED.3 \
man/SD_BUS_ERROR_END.3 \
man/SD_BUS_ERROR_FAILED.3 \
man/SD_BUS_ERROR_FILE_EXISTS.3 \
man/SD_BUS_ERROR_FILE_NOT_FOUND.3 \
man/SD_BUS_ERROR_INCONSISTENT_MESSAGE.3 \
man/SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED.3 \
man/SD_BUS_ERROR_INVALID_ARGS.3 \
man/SD_BUS_ERROR_INVALID_SIGNATURE.3 \
man/SD_BUS_ERROR_IO_ERROR.3 \
man/SD_BUS_ERROR_LIMITS_EXCEEDED.3 \
man/SD_BUS_ERROR_MAKE_CONST.3 \
man/SD_BUS_ERROR_MAP.3 \
man/SD_BUS_ERROR_MATCH_RULE_INVALID.3 \
man/SD_BUS_ERROR_MATCH_RULE_NOT_FOUND.3 \
man/SD_BUS_ERROR_NAME_HAS_NO_OWNER.3 \
man/SD_BUS_ERROR_NOT_SUPPORTED.3 \
man/SD_BUS_ERROR_NO_MEMORY.3 \
man/SD_BUS_ERROR_NO_NETWORK.3 \
man/SD_BUS_ERROR_NO_REPLY.3 \
man/SD_BUS_ERROR_NO_SERVER.3 \
man/SD_BUS_ERROR_NULL.3 \
man/SD_BUS_ERROR_PROPERTY_READ_ONLY.3 \
man/SD_BUS_ERROR_SERVICE_UNKNOWN.3 \
man/SD_BUS_ERROR_TIMEOUT.3 \
man/SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN.3 \
man/SD_BUS_ERROR_UNKNOWN_INTERFACE.3 \
man/SD_BUS_ERROR_UNKNOWN_METHOD.3 \
man/SD_BUS_ERROR_UNKNOWN_OBJECT.3 \
man/SD_BUS_ERROR_UNKNOWN_PROPERTY.3 \
2013-02-03 07:38:33 +04:00
man/SD_CRIT.3 \
man/SD_DEBUG.3 \
man/SD_EMERG.3 \
man/SD_ERR.3 \
2015-11-20 01:38:54 +03:00
man/SD_EVENT_ARMED.3 \
man/SD_EVENT_EXITING.3 \
man/SD_EVENT_FINISHED.3 \
man/SD_EVENT_INITIAL.3 \
man/SD_EVENT_OFF.3 \
man/SD_EVENT_ON.3 \
man/SD_EVENT_ONESHOT.3 \
man/SD_EVENT_PENDING.3 \
man/SD_EVENT_PREPARING.3 \
man/SD_EVENT_PRIORITY_IDLE.3 \
man/SD_EVENT_PRIORITY_IMPORTANT.3 \
man/SD_EVENT_PRIORITY_NORMAL.3 \
man/SD_EVENT_RUNNING.3 \
2013-02-03 07:38:33 +04:00
man/SD_ID128_CONST_STR.3 \
man/SD_ID128_FORMAT_STR.3 \
man/SD_ID128_FORMAT_VAL.3 \
man/SD_ID128_MAKE.3 \
2016-08-31 13:23:27 +03:00
man/SD_ID128_NULL.3 \
2013-02-03 07:38:33 +04:00
man/SD_INFO.3 \
man/SD_JOURNAL_APPEND.3 \
2013-06-05 06:31:05 +04:00
man/SD_JOURNAL_CURRENT_USER.3 \
2013-02-03 07:38:33 +04:00
man/SD_JOURNAL_FOREACH.3 \
man/SD_JOURNAL_FOREACH_BACKWARDS.3 \
man/SD_JOURNAL_FOREACH_DATA.3 \
2016-01-27 20:59:29 +03:00
man/SD_JOURNAL_FOREACH_FIELD.3 \
2013-02-03 07:38:33 +04:00
man/SD_JOURNAL_FOREACH_UNIQUE.3 \
man/SD_JOURNAL_INVALIDATE.3 \
man/SD_JOURNAL_LOCAL_ONLY.3 \
man/SD_JOURNAL_NOP.3 \
2016-04-25 12:39:38 +03:00
man/SD_JOURNAL_OS_ROOT.3 \
2013-02-03 07:38:33 +04:00
man/SD_JOURNAL_RUNTIME_ONLY.3 \
man/SD_JOURNAL_SUPPRESS_LOCATION.3 \
2013-06-05 06:31:05 +04:00
man/SD_JOURNAL_SYSTEM.3 \
2013-02-03 07:38:33 +04:00
man/SD_LISTEN_FDS_START.3 \
man/SD_NOTICE.3 \
man/SD_WARNING.3 \
man/init.1 \
2014-11-29 12:06:20 +03:00
man/journald.conf.d.5 \
2016-07-14 20:19:49 +03:00
man/libnss_systemd.so.2.8 \
2013-02-03 07:38:33 +04:00
man/poweroff.8 \
man/reboot.8 \
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_audit_login_uid.3 \
man/sd_bus_creds_get_audit_session_id.3 \
2015-06-23 21:42:57 +03:00
man/sd_bus_creds_get_augmented_mask.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_cgroup.3 \
man/sd_bus_creds_get_cmdline.3 \
man/sd_bus_creds_get_comm.3 \
man/sd_bus_creds_get_description.3 \
man/sd_bus_creds_get_egid.3 \
man/sd_bus_creds_get_euid.3 \
man/sd_bus_creds_get_exe.3 \
man/sd_bus_creds_get_fsgid.3 \
man/sd_bus_creds_get_fsuid.3 \
man/sd_bus_creds_get_gid.3 \
man/sd_bus_creds_get_mask.3 \
man/sd_bus_creds_get_owner_uid.3 \
man/sd_bus_creds_get_ppid.3 \
man/sd_bus_creds_get_selinux_context.3 \
man/sd_bus_creds_get_session.3 \
man/sd_bus_creds_get_sgid.3 \
man/sd_bus_creds_get_slice.3 \
man/sd_bus_creds_get_suid.3 \
man/sd_bus_creds_get_supplementary_gids.3 \
man/sd_bus_creds_get_tid.3 \
man/sd_bus_creds_get_tid_comm.3 \
man/sd_bus_creds_get_tty.3 \
man/sd_bus_creds_get_uid.3 \
man/sd_bus_creds_get_unique_name.3 \
man/sd_bus_creds_get_unit.3 \
2015-06-23 21:42:57 +03:00
man/sd_bus_creds_get_user_slice.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_user_unit.3 \
man/sd_bus_creds_get_well_known_names.3 \
man/sd_bus_creds_has_bounding_cap.3 \
man/sd_bus_creds_has_effective_cap.3 \
man/sd_bus_creds_has_inheritable_cap.3 \
man/sd_bus_creds_has_permitted_cap.3 \
man/sd_bus_creds_ref.3 \
man/sd_bus_creds_unref.3 \
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_bus_creds_unrefp.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_default_system.3 \
man/sd_bus_default_user.3 \
man/sd_bus_error_copy.3 \
man/sd_bus_error_free.3 \
man/sd_bus_error_get_errno.3 \
man/sd_bus_error_has_name.3 \
man/sd_bus_error_is_set.3 \
2015-06-23 20:37:28 +03:00
man/sd_bus_error_map.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_error_set.3 \
man/sd_bus_error_set_const.3 \
man/sd_bus_error_set_errno.3 \
man/sd_bus_error_set_errnof.3 \
2015-06-23 20:37:28 +03:00
man/sd_bus_error_set_errnofv.3 \
man/sd_bus_error_setf.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_message_append_array_iovec.3 \
man/sd_bus_message_append_array_memfd.3 \
man/sd_bus_message_append_array_space.3 \
man/sd_bus_message_append_string_iovec.3 \
man/sd_bus_message_append_string_space.3 \
man/sd_bus_message_get_realtime_usec.3 \
man/sd_bus_message_get_reply_cookie.3 \
man/sd_bus_message_get_seqnum.3 \
man/sd_bus_negotiate_creds.3 \
2015-06-23 21:44:15 +03:00
man/sd_bus_negotiate_timestamp.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_open.3 \
man/sd_bus_open_system.3 \
man/sd_bus_open_system_machine.3 \
man/sd_bus_open_system_remote.3 \
man/sd_bus_open_user.3 \
man/sd_bus_path_decode.3 \
2015-09-25 20:05:23 +03:00
man/sd_bus_path_decode_many.3 \
man/sd_bus_path_encode_many.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_ref.3 \
man/sd_bus_release_name.3 \
2016-08-15 15:59:59 +03:00
man/sd_bus_track_add_sender.3 \
man/sd_bus_track_contains.3 \
man/sd_bus_track_count.3 \
man/sd_bus_track_count_name.3 \
man/sd_bus_track_count_sender.3 \
man/sd_bus_track_first.3 \
man/sd_bus_track_get_bus.3 \
man/sd_bus_track_get_recursive.3 \
man/sd_bus_track_get_userdata.3 \
man/sd_bus_track_next.3 \
man/sd_bus_track_ref.3 \
man/sd_bus_track_remove_name.3 \
man/sd_bus_track_remove_sender.3 \
man/sd_bus_track_set_recursive.3 \
man/sd_bus_track_set_userdata.3 \
man/sd_bus_track_unref.3 \
man/sd_bus_track_unrefp.3 \
2015-06-18 00:50:02 +03:00
man/sd_bus_unref.3 \
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_bus_unrefp.3 \
2015-11-20 01:38:54 +03:00
man/sd_event.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_add_exit.3 \
man/sd_event_add_post.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_child_handler_t.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_default.3 \
man/sd_event_dispatch.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_get_exit_code.3 \
2016-06-30 22:25:07 +03:00
man/sd_event_get_iteration.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_get_state.3 \
man/sd_event_get_tid.3 \
man/sd_event_get_watchdog.3 \
man/sd_event_handler_t.3 \
man/sd_event_io_handler_t.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_loop.3 \
man/sd_event_prepare.3 \
man/sd_event_ref.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_signal_handler_t.3 \
man/sd_event_source.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_source_get_child_pid.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_source_get_description.3 \
man/sd_event_source_get_enabled.3 \
man/sd_event_source_get_io_events.3 \
man/sd_event_source_get_io_fd.3 \
man/sd_event_source_get_io_revents.3 \
man/sd_event_source_get_priority.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_source_get_signal.3 \
man/sd_event_source_get_time.3 \
man/sd_event_source_get_time_accuracy.3 \
man/sd_event_source_get_time_clock.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_source_get_userdata.3 \
man/sd_event_source_ref.3 \
man/sd_event_source_set_io_events.3 \
man/sd_event_source_set_io_fd.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_source_set_time.3 \
man/sd_event_source_set_time_accuracy.3 \
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_event_source_unrefp.3 \
2015-11-20 01:38:54 +03:00
man/sd_event_time_handler_t.3 \
2015-06-18 00:50:02 +03:00
man/sd_event_unref.3 \
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_event_unrefp.3 \
2013-02-03 07:38:33 +04:00
man/sd_id128_equal.3 \
man/sd_id128_from_string.3 \
man/sd_id128_get_boot.3 \
2016-08-31 00:18:46 +03:00
man/sd_id128_get_invocation.3 \
2016-11-17 19:07:46 +03:00
man/sd_id128_get_machine_app_specific.3 \
2016-08-31 13:23:27 +03:00
man/sd_id128_is_null.3 \
2013-02-03 07:38:33 +04:00
man/sd_id128_t.3 \
man/sd_is_mq.3 \
man/sd_is_socket.3 \
man/sd_is_socket_inet.3 \
2016-12-14 13:51:26 +03:00
man/sd_is_socket_sockaddr.3 \
2013-02-03 07:38:33 +04:00
man/sd_is_socket_unix.3 \
2013-11-07 20:51:09 +04:00
man/sd_is_special.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal.3 \
2013-04-19 03:11:38 +04:00
man/sd_journal_add_conjunction.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_add_disjunction.3 \
man/sd_journal_close.3 \
man/sd_journal_enumerate_data.3 \
man/sd_journal_enumerate_unique.3 \
man/sd_journal_flush_matches.3 \
man/sd_journal_get_catalog_for_message_id.3 \
man/sd_journal_get_cutoff_monotonic_usec.3 \
man/sd_journal_get_data_threshold.3 \
2013-04-05 21:24:47 +04:00
man/sd_journal_get_events.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_get_monotonic_usec.3 \
2013-04-05 21:24:47 +04:00
man/sd_journal_get_timeout.3 \
2016-02-01 11:23:58 +03:00
man/sd_journal_has_persistent_files.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_next_skip.3 \
man/sd_journal_open_directory.3 \
2016-04-25 12:39:38 +03:00
man/sd_journal_open_directory_fd.3 \
2013-06-06 03:39:26 +04:00
man/sd_journal_open_files.3 \
2016-04-25 12:39:38 +03:00
man/sd_journal_open_files_fd.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_perror.3 \
man/sd_journal_previous.3 \
man/sd_journal_previous_skip.3 \
man/sd_journal_printv.3 \
man/sd_journal_process.3 \
man/sd_journal_reliable_fd.3 \
man/sd_journal_restart_data.3 \
2016-01-27 20:59:29 +03:00
man/sd_journal_restart_fields.3 \
2013-02-03 07:38:33 +04:00
man/sd_journal_restart_unique.3 \
man/sd_journal_seek_cursor.3 \
man/sd_journal_seek_monotonic_usec.3 \
man/sd_journal_seek_realtime_usec.3 \
man/sd_journal_seek_tail.3 \
man/sd_journal_send.3 \
man/sd_journal_sendv.3 \
man/sd_journal_set_data_threshold.3 \
man/sd_journal_test_cursor.3 \
man/sd_journal_wait.3 \
2015-10-04 18:36:19 +03:00
man/sd_listen_fds_with_names.3 \
2014-10-18 18:06:21 +04:00
man/sd_machine_get_ifindices.3 \
2013-02-03 07:38:33 +04:00
man/sd_notifyf.3 \
2015-01-06 02:26:25 +03:00
man/sd_pid_notify.3 \
man/sd_pid_notify_with_fds.3 \
man/sd_pid_notifyf.3 \
2014-11-29 12:06:28 +03:00
man/sleep.conf.d.5 \
2014-11-29 12:06:04 +03:00
man/system.conf.d.5 \
2013-02-03 07:38:33 +04:00
man/systemd-ask-password-console.path.8 \
man/systemd-ask-password-wall.path.8 \
man/systemd-ask-password-wall.service.8 \
man/systemd-fsck-root.service.8 \
man/systemd-fsck.8 \
2014-08-27 00:17:44 +04:00
man/systemd-hibernate-resume.8 \
2013-02-03 07:38:33 +04:00
man/systemd-hibernate.service.8 \
man/systemd-hybrid-sleep.service.8 \
man/systemd-initctl.8 \
man/systemd-initctl.socket.8 \
2015-10-12 06:25:43 +03:00
man/systemd-journald-audit.socket.8 \
2014-06-19 15:47:07 +04:00
man/systemd-journald-dev-log.socket.8 \
2013-02-03 07:38:33 +04:00
man/systemd-journald.8 \
man/systemd-journald.socket.8 \
man/systemd-kexec.service.8 \
man/systemd-poweroff.service.8 \
man/systemd-reboot.service.8 \
man/systemd-remount-fs.8 \
man/systemd-shutdown.8 \
man/systemd-sleep.8 \
man/systemd-sysctl.8 \
2014-06-30 00:15:01 +04:00
man/systemd-sysusers.service.8 \
2013-02-03 07:38:33 +04:00
man/systemd-tmpfiles-clean.service.8 \
man/systemd-tmpfiles-clean.timer.8 \
2013-04-23 11:56:32 +04:00
man/systemd-tmpfiles-setup-dev.service.8 \
2013-02-03 07:38:33 +04:00
man/systemd-tmpfiles-setup.service.8 \
man/systemd-udevd-control.socket.8 \
man/systemd-udevd-kernel.socket.8 \
man/systemd-udevd.8 \
2017-02-06 00:27:38 +03:00
man/systemd-umount.1 \
2014-07-01 02:16:17 +04:00
man/systemd-update-done.8 \
2014-11-29 12:06:04 +03:00
man/systemd-user.conf.5 \
2016-12-13 14:45:19 +03:00
man/systemd-volatile-root.8 \
2015-06-17 16:11:11 +03:00
man/udev_device_get_action.3 \
man/udev_device_get_devlinks_list_entry.3 \
man/udev_device_get_devnode.3 \
man/udev_device_get_devnum.3 \
man/udev_device_get_devpath.3 \
man/udev_device_get_devtype.3 \
man/udev_device_get_driver.3 \
man/udev_device_get_is_initialized.3 \
man/udev_device_get_parent.3 \
man/udev_device_get_parent_with_subsystem_devtype.3 \
man/udev_device_get_properties_list_entry.3 \
man/udev_device_get_property_value.3 \
man/udev_device_get_subsystem.3 \
man/udev_device_get_sysattr_list_entry.3 \
man/udev_device_get_sysattr_value.3 \
man/udev_device_get_sysname.3 \
man/udev_device_get_sysnum.3 \
man/udev_device_get_tags_list_entry.3 \
man/udev_device_get_udev.3 \
man/udev_device_new_from_device_id.3 \
man/udev_device_new_from_devnum.3 \
man/udev_device_new_from_environment.3 \
man/udev_device_new_from_subsystem_sysname.3 \
man/udev_device_ref.3 \
man/udev_device_set_sysattr_value.3 \
man/udev_device_unref.3 \
man/udev_enumerate_add_match_is_initialized.3 \
man/udev_enumerate_add_match_parent.3 \
man/udev_enumerate_add_match_property.3 \
man/udev_enumerate_add_match_sysattr.3 \
man/udev_enumerate_add_match_sysname.3 \
man/udev_enumerate_add_match_tag.3 \
man/udev_enumerate_add_nomatch_subsystem.3 \
man/udev_enumerate_add_nomatch_sysattr.3 \
man/udev_enumerate_add_syspath.3 \
man/udev_enumerate_get_list_entry.3 \
man/udev_enumerate_get_udev.3 \
man/udev_enumerate_ref.3 \
man/udev_enumerate_scan_subsystems.3 \
man/udev_enumerate_unref.3 \
man/udev_list_entry_get_by_name.3 \
man/udev_list_entry_get_name.3 \
man/udev_list_entry_get_next.3 \
man/udev_list_entry_get_value.3 \
man/udev_monitor_enable_receiving.3 \
man/udev_monitor_filter_add_match_subsystem_devtype.3 \
man/udev_monitor_filter_add_match_tag.3 \
man/udev_monitor_filter_remove.3 \
man/udev_monitor_get_fd.3 \
man/udev_monitor_get_udev.3 \
man/udev_monitor_ref.3 \
man/udev_monitor_set_receive_buffer_size.3 \
man/udev_monitor_unref.3 \
man/udev_ref.3 \
man/udev_unref.3 \
2014-11-29 12:06:04 +03:00
man/user.conf.d.5
2013-02-03 07:38:33 +04:00
man/SD_ALERT.3: man/sd-daemon.3
2015-06-23 20:37:28 +03:00
man/SD_BUS_ERROR_ACCESS_DENIED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_ADDRESS_IN_USE.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_AUTH_FAILED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_BAD_ADDRESS.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_DISCONNECTED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_END.3: man/sd_bus_error_add_map.3
man/SD_BUS_ERROR_FAILED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_FILE_EXISTS.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_FILE_NOT_FOUND.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_INCONSISTENT_MESSAGE.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_INVALID_ARGS.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_INVALID_SIGNATURE.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_IO_ERROR.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_LIMITS_EXCEEDED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_MAKE_CONST.3: man/sd_bus_error.3
man/SD_BUS_ERROR_MAP.3: man/sd_bus_error_add_map.3
man/SD_BUS_ERROR_MATCH_RULE_INVALID.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_MATCH_RULE_NOT_FOUND.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NAME_HAS_NO_OWNER.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NOT_SUPPORTED.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NO_MEMORY.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NO_NETWORK.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NO_REPLY.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NO_SERVER.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_NULL.3: man/sd_bus_error.3
man/SD_BUS_ERROR_PROPERTY_READ_ONLY.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_SERVICE_UNKNOWN.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_TIMEOUT.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_UNKNOWN_INTERFACE.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_UNKNOWN_METHOD.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_UNKNOWN_OBJECT.3: man/sd-bus-errors.3
man/SD_BUS_ERROR_UNKNOWN_PROPERTY.3: man/sd-bus-errors.3
2013-02-03 07:38:33 +04:00
man/SD_CRIT.3: man/sd-daemon.3
man/SD_DEBUG.3: man/sd-daemon.3
man/SD_EMERG.3: man/sd-daemon.3
man/SD_ERR.3: man/sd-daemon.3
2015-11-20 01:38:54 +03:00
man/SD_EVENT_ARMED.3: man/sd_event_wait.3
man/SD_EVENT_EXITING.3: man/sd_event_wait.3
man/SD_EVENT_FINISHED.3: man/sd_event_wait.3
man/SD_EVENT_INITIAL.3: man/sd_event_wait.3
man/SD_EVENT_OFF.3: man/sd_event_source_set_enabled.3
man/SD_EVENT_ON.3: man/sd_event_source_set_enabled.3
man/SD_EVENT_ONESHOT.3: man/sd_event_source_set_enabled.3
man/SD_EVENT_PENDING.3: man/sd_event_wait.3
man/SD_EVENT_PREPARING.3: man/sd_event_wait.3
man/SD_EVENT_PRIORITY_IDLE.3: man/sd_event_source_set_priority.3
man/SD_EVENT_PRIORITY_IMPORTANT.3: man/sd_event_source_set_priority.3
man/SD_EVENT_PRIORITY_NORMAL.3: man/sd_event_source_set_priority.3
man/SD_EVENT_RUNNING.3: man/sd_event_wait.3
2013-02-03 07:38:33 +04:00
man/SD_ID128_CONST_STR.3: man/sd-id128.3
man/SD_ID128_FORMAT_STR.3: man/sd-id128.3
man/SD_ID128_FORMAT_VAL.3: man/sd-id128.3
man/SD_ID128_MAKE.3: man/sd-id128.3
2016-08-31 13:23:27 +03:00
man/SD_ID128_NULL.3: man/sd-id128.3
2013-02-03 07:38:33 +04:00
man/SD_INFO.3: man/sd-daemon.3
man/SD_JOURNAL_APPEND.3: man/sd_journal_get_fd.3
2013-06-05 06:31:05 +04:00
man/SD_JOURNAL_CURRENT_USER.3: man/sd_journal_open.3
2013-02-03 07:38:33 +04:00
man/SD_JOURNAL_FOREACH.3: man/sd_journal_next.3
man/SD_JOURNAL_FOREACH_BACKWARDS.3: man/sd_journal_next.3
man/SD_JOURNAL_FOREACH_DATA.3: man/sd_journal_get_data.3
2016-01-27 20:59:29 +03:00
man/SD_JOURNAL_FOREACH_FIELD.3: man/sd_journal_enumerate_fields.3
2013-02-03 07:38:33 +04:00
man/SD_JOURNAL_FOREACH_UNIQUE.3: man/sd_journal_query_unique.3
man/SD_JOURNAL_INVALIDATE.3: man/sd_journal_get_fd.3
man/SD_JOURNAL_LOCAL_ONLY.3: man/sd_journal_open.3
man/SD_JOURNAL_NOP.3: man/sd_journal_get_fd.3
2016-04-25 12:39:38 +03:00
man/SD_JOURNAL_OS_ROOT.3: man/sd_journal_open.3
2013-02-03 07:38:33 +04:00
man/SD_JOURNAL_RUNTIME_ONLY.3: man/sd_journal_open.3
man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3
2013-06-05 06:31:05 +04:00
man/SD_JOURNAL_SYSTEM.3: man/sd_journal_open.3
2013-02-03 07:38:33 +04:00
man/SD_LISTEN_FDS_START.3: man/sd_listen_fds.3
man/SD_NOTICE.3: man/sd-daemon.3
man/SD_WARNING.3: man/sd-daemon.3
man/init.1: man/systemd.1
2014-11-29 12:06:20 +03:00
man/journald.conf.d.5: man/journald.conf.5
2016-07-14 20:19:49 +03:00
man/libnss_systemd.so.2.8: man/nss-systemd.8
2013-02-03 07:38:33 +04:00
man/poweroff.8: man/halt.8
man/reboot.8: man/halt.8
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_audit_login_uid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_audit_session_id.3: man/sd_bus_creds_get_pid.3
2015-06-23 21:42:57 +03:00
man/sd_bus_creds_get_augmented_mask.3: man/sd_bus_creds_new_from_pid.3
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_cgroup.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_cmdline.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_comm.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_description.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_egid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_euid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_exe.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_fsgid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_fsuid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_gid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_mask.3: man/sd_bus_creds_new_from_pid.3
man/sd_bus_creds_get_owner_uid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_ppid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_selinux_context.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_session.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_sgid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_slice.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_suid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_supplementary_gids.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_tid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_tid_comm.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_tty.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_uid.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_unique_name.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_unit.3: man/sd_bus_creds_get_pid.3
2015-06-23 21:42:57 +03:00
man/sd_bus_creds_get_user_slice.3: man/sd_bus_creds_get_pid.3
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_user_unit.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_get_well_known_names.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_has_bounding_cap.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_has_effective_cap.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_has_inheritable_cap.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_has_permitted_cap.3: man/sd_bus_creds_get_pid.3
man/sd_bus_creds_ref.3: man/sd_bus_creds_new_from_pid.3
man/sd_bus_creds_unref.3: man/sd_bus_creds_new_from_pid.3
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_bus_creds_unrefp.3: man/sd_bus_creds_new_from_pid.3
2015-06-18 00:50:02 +03:00
man/sd_bus_default_system.3: man/sd_bus_default.3
man/sd_bus_default_user.3: man/sd_bus_default.3
man/sd_bus_error_copy.3: man/sd_bus_error.3
man/sd_bus_error_free.3: man/sd_bus_error.3
man/sd_bus_error_get_errno.3: man/sd_bus_error.3
man/sd_bus_error_has_name.3: man/sd_bus_error.3
man/sd_bus_error_is_set.3: man/sd_bus_error.3
2015-06-23 20:37:28 +03:00
man/sd_bus_error_map.3: man/sd_bus_error_add_map.3
2015-06-18 00:50:02 +03:00
man/sd_bus_error_set.3: man/sd_bus_error.3
man/sd_bus_error_set_const.3: man/sd_bus_error.3
man/sd_bus_error_set_errno.3: man/sd_bus_error.3
man/sd_bus_error_set_errnof.3: man/sd_bus_error.3
2015-06-23 20:37:28 +03:00
man/sd_bus_error_set_errnofv.3: man/sd_bus_error.3
man/sd_bus_error_setf.3: man/sd_bus_error.3
2015-06-18 00:50:02 +03:00
man/sd_bus_message_append_array_iovec.3: man/sd_bus_message_append_array.3
man/sd_bus_message_append_array_memfd.3: man/sd_bus_message_append_array.3
man/sd_bus_message_append_array_space.3: man/sd_bus_message_append_array.3
man/sd_bus_message_append_string_iovec.3: man/sd_bus_message_append_string_memfd.3
man/sd_bus_message_append_string_space.3: man/sd_bus_message_append_string_memfd.3
man/sd_bus_message_get_realtime_usec.3: man/sd_bus_message_get_monotonic_usec.3
man/sd_bus_message_get_reply_cookie.3: man/sd_bus_message_get_cookie.3
man/sd_bus_message_get_seqnum.3: man/sd_bus_message_get_monotonic_usec.3
man/sd_bus_negotiate_creds.3: man/sd_bus_negotiate_fds.3
2015-06-23 21:44:15 +03:00
man/sd_bus_negotiate_timestamp.3: man/sd_bus_negotiate_fds.3
2015-06-18 00:50:02 +03:00
man/sd_bus_open.3: man/sd_bus_default.3
man/sd_bus_open_system.3: man/sd_bus_default.3
man/sd_bus_open_system_machine.3: man/sd_bus_default.3
man/sd_bus_open_system_remote.3: man/sd_bus_default.3
man/sd_bus_open_user.3: man/sd_bus_default.3
man/sd_bus_path_decode.3: man/sd_bus_path_encode.3
2015-09-25 20:05:23 +03:00
man/sd_bus_path_decode_many.3: man/sd_bus_path_encode.3
man/sd_bus_path_encode_many.3: man/sd_bus_path_encode.3
2015-06-18 00:50:02 +03:00
man/sd_bus_ref.3: man/sd_bus_new.3
man/sd_bus_release_name.3: man/sd_bus_request_name.3
2016-08-15 15:59:59 +03:00
man/sd_bus_track_add_sender.3: man/sd_bus_track_add_name.3
man/sd_bus_track_contains.3: man/sd_bus_track_add_name.3
man/sd_bus_track_count.3: man/sd_bus_track_add_name.3
man/sd_bus_track_count_name.3: man/sd_bus_track_add_name.3
man/sd_bus_track_count_sender.3: man/sd_bus_track_add_name.3
man/sd_bus_track_first.3: man/sd_bus_track_add_name.3
man/sd_bus_track_get_bus.3: man/sd_bus_track_new.3
man/sd_bus_track_get_recursive.3: man/sd_bus_track_new.3
man/sd_bus_track_get_userdata.3: man/sd_bus_track_new.3
man/sd_bus_track_next.3: man/sd_bus_track_add_name.3
man/sd_bus_track_ref.3: man/sd_bus_track_new.3
man/sd_bus_track_remove_name.3: man/sd_bus_track_add_name.3
man/sd_bus_track_remove_sender.3: man/sd_bus_track_add_name.3
man/sd_bus_track_set_recursive.3: man/sd_bus_track_new.3
man/sd_bus_track_set_userdata.3: man/sd_bus_track_new.3
man/sd_bus_track_unref.3: man/sd_bus_track_new.3
man/sd_bus_track_unrefp.3: man/sd_bus_track_new.3
2015-06-18 00:50:02 +03:00
man/sd_bus_unref.3: man/sd_bus_new.3
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_bus_unrefp.3: man/sd_bus_new.3
2015-11-20 01:38:54 +03:00
man/sd_event.3: man/sd_event_new.3
2015-06-18 00:50:02 +03:00
man/sd_event_add_exit.3: man/sd_event_add_defer.3
man/sd_event_add_post.3: man/sd_event_add_defer.3
2015-11-20 01:38:54 +03:00
man/sd_event_child_handler_t.3: man/sd_event_add_child.3
2015-06-18 00:50:02 +03:00
man/sd_event_default.3: man/sd_event_new.3
man/sd_event_dispatch.3: man/sd_event_wait.3
2015-11-20 01:38:54 +03:00
man/sd_event_get_exit_code.3: man/sd_event_exit.3
2016-06-30 22:25:07 +03:00
man/sd_event_get_iteration.3: man/sd_event_wait.3
2015-11-20 01:38:54 +03:00
man/sd_event_get_state.3: man/sd_event_wait.3
man/sd_event_get_tid.3: man/sd_event_new.3
man/sd_event_get_watchdog.3: man/sd_event_set_watchdog.3
man/sd_event_handler_t.3: man/sd_event_add_defer.3
man/sd_event_io_handler_t.3: man/sd_event_add_io.3
2015-06-18 00:50:02 +03:00
man/sd_event_loop.3: man/sd_event_run.3
man/sd_event_prepare.3: man/sd_event_wait.3
man/sd_event_ref.3: man/sd_event_new.3
2015-11-20 01:38:54 +03:00
man/sd_event_signal_handler_t.3: man/sd_event_add_signal.3
man/sd_event_source.3: man/sd_event_add_io.3
2015-06-18 00:50:02 +03:00
man/sd_event_source_get_child_pid.3: man/sd_event_add_child.3
2015-11-20 01:38:54 +03:00
man/sd_event_source_get_description.3: man/sd_event_source_set_description.3
man/sd_event_source_get_enabled.3: man/sd_event_source_set_enabled.3
man/sd_event_source_get_io_events.3: man/sd_event_add_io.3
man/sd_event_source_get_io_fd.3: man/sd_event_add_io.3
man/sd_event_source_get_io_revents.3: man/sd_event_add_io.3
man/sd_event_source_get_priority.3: man/sd_event_source_set_priority.3
2015-06-18 00:50:02 +03:00
man/sd_event_source_get_signal.3: man/sd_event_add_signal.3
man/sd_event_source_get_time.3: man/sd_event_add_time.3
man/sd_event_source_get_time_accuracy.3: man/sd_event_add_time.3
man/sd_event_source_get_time_clock.3: man/sd_event_add_time.3
2015-11-20 01:38:54 +03:00
man/sd_event_source_get_userdata.3: man/sd_event_source_set_userdata.3
man/sd_event_source_ref.3: man/sd_event_source_unref.3
man/sd_event_source_set_io_events.3: man/sd_event_add_io.3
man/sd_event_source_set_io_fd.3: man/sd_event_add_io.3
2015-06-18 00:50:02 +03:00
man/sd_event_source_set_time.3: man/sd_event_add_time.3
man/sd_event_source_set_time_accuracy.3: man/sd_event_add_time.3
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_event_source_unrefp.3: man/sd_event_source_unref.3
2015-11-20 01:38:54 +03:00
man/sd_event_time_handler_t.3: man/sd_event_add_time.3
2015-06-18 00:50:02 +03:00
man/sd_event_unref.3: man/sd_event_new.3
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_event_unrefp.3: man/sd_event_new.3
2013-02-03 07:38:33 +04:00
man/sd_id128_equal.3: man/sd-id128.3
man/sd_id128_from_string.3: man/sd_id128_to_string.3
man/sd_id128_get_boot.3: man/sd_id128_get_machine.3
2016-08-31 00:18:46 +03:00
man/sd_id128_get_invocation.3: man/sd_id128_get_machine.3
2016-11-17 19:07:46 +03:00
man/sd_id128_get_machine_app_specific.3: man/sd_id128_get_machine.3
2016-08-31 13:23:27 +03:00
man/sd_id128_is_null.3: man/sd-id128.3
2013-02-03 07:38:33 +04:00
man/sd_id128_t.3: man/sd-id128.3
man/sd_is_mq.3: man/sd_is_fifo.3
man/sd_is_socket.3: man/sd_is_fifo.3
man/sd_is_socket_inet.3: man/sd_is_fifo.3
2016-12-14 13:51:26 +03:00
man/sd_is_socket_sockaddr.3: man/sd_is_fifo.3
2013-02-03 07:38:33 +04:00
man/sd_is_socket_unix.3: man/sd_is_fifo.3
2013-11-07 20:51:09 +04:00
man/sd_is_special.3: man/sd_is_fifo.3
2013-02-03 07:38:33 +04:00
man/sd_journal.3: man/sd_journal_open.3
2013-04-19 03:11:38 +04:00
man/sd_journal_add_conjunction.3: man/sd_journal_add_match.3
2013-02-03 07:38:33 +04:00
man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3
man/sd_journal_close.3: man/sd_journal_open.3
man/sd_journal_enumerate_data.3: man/sd_journal_get_data.3
man/sd_journal_enumerate_unique.3: man/sd_journal_query_unique.3
man/sd_journal_flush_matches.3: man/sd_journal_add_match.3
man/sd_journal_get_catalog_for_message_id.3: man/sd_journal_get_catalog.3
man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3
man/sd_journal_get_data_threshold.3: man/sd_journal_get_data.3
2013-04-05 21:24:47 +04:00
man/sd_journal_get_events.3: man/sd_journal_get_fd.3
2013-02-03 07:38:33 +04:00
man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3
2013-04-05 21:24:47 +04:00
man/sd_journal_get_timeout.3: man/sd_journal_get_fd.3
2016-02-01 11:23:58 +03:00
man/sd_journal_has_persistent_files.3: man/sd_journal_has_runtime_files.3
2013-02-03 07:38:33 +04:00
man/sd_journal_next_skip.3: man/sd_journal_next.3
man/sd_journal_open_directory.3: man/sd_journal_open.3
2016-04-25 12:39:38 +03:00
man/sd_journal_open_directory_fd.3: man/sd_journal_open.3
2013-06-06 03:39:26 +04:00
man/sd_journal_open_files.3: man/sd_journal_open.3
2016-04-25 12:39:38 +03:00
man/sd_journal_open_files_fd.3: man/sd_journal_open.3
2013-02-03 07:38:33 +04:00
man/sd_journal_perror.3: man/sd_journal_print.3
man/sd_journal_previous.3: man/sd_journal_next.3
man/sd_journal_previous_skip.3: man/sd_journal_next.3
man/sd_journal_printv.3: man/sd_journal_print.3
man/sd_journal_process.3: man/sd_journal_get_fd.3
man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3
man/sd_journal_restart_data.3: man/sd_journal_get_data.3
2016-01-27 20:59:29 +03:00
man/sd_journal_restart_fields.3: man/sd_journal_enumerate_fields.3
2013-02-03 07:38:33 +04:00
man/sd_journal_restart_unique.3: man/sd_journal_query_unique.3
man/sd_journal_seek_cursor.3: man/sd_journal_seek_head.3
man/sd_journal_seek_monotonic_usec.3: man/sd_journal_seek_head.3
man/sd_journal_seek_realtime_usec.3: man/sd_journal_seek_head.3
man/sd_journal_seek_tail.3: man/sd_journal_seek_head.3
man/sd_journal_send.3: man/sd_journal_print.3
man/sd_journal_sendv.3: man/sd_journal_print.3
man/sd_journal_set_data_threshold.3: man/sd_journal_get_data.3
man/sd_journal_test_cursor.3: man/sd_journal_get_cursor.3
man/sd_journal_wait.3: man/sd_journal_get_fd.3
2015-10-04 18:36:19 +03:00
man/sd_listen_fds_with_names.3: man/sd_listen_fds.3
2014-10-18 18:06:21 +04:00
man/sd_machine_get_ifindices.3: man/sd_machine_get_class.3
2013-02-03 07:38:33 +04:00
man/sd_notifyf.3: man/sd_notify.3
2015-01-06 02:26:25 +03:00
man/sd_pid_notify.3: man/sd_notify.3
man/sd_pid_notify_with_fds.3: man/sd_notify.3
man/sd_pid_notifyf.3: man/sd_notify.3
2014-11-29 12:06:28 +03:00
man/sleep.conf.d.5: man/systemd-sleep.conf.5
2014-11-29 12:06:04 +03:00
man/system.conf.d.5: man/systemd-system.conf.5
2013-02-03 07:38:33 +04:00
man/systemd-ask-password-console.path.8: man/systemd-ask-password-console.service.8
man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8
man/systemd-ask-password-wall.service.8: man/systemd-ask-password-console.service.8
man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
man/systemd-fsck.8: man/systemd-fsck@.service.8
2014-08-27 00:17:44 +04:00
man/systemd-hibernate-resume.8: man/systemd-hibernate-resume@.service.8
2013-02-03 07:38:33 +04:00
man/systemd-hibernate.service.8: man/systemd-suspend.service.8
man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8
man/systemd-initctl.8: man/systemd-initctl.service.8
man/systemd-initctl.socket.8: man/systemd-initctl.service.8
2015-10-12 06:25:43 +03:00
man/systemd-journald-audit.socket.8: man/systemd-journald.service.8
2014-06-19 15:47:07 +04:00
man/systemd-journald-dev-log.socket.8: man/systemd-journald.service.8
2013-02-03 07:38:33 +04:00
man/systemd-journald.8: man/systemd-journald.service.8
man/systemd-journald.socket.8: man/systemd-journald.service.8
man/systemd-kexec.service.8: man/systemd-halt.service.8
man/systemd-poweroff.service.8: man/systemd-halt.service.8
man/systemd-reboot.service.8: man/systemd-halt.service.8
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
man/systemd-shutdown.8: man/systemd-halt.service.8
man/systemd-sleep.8: man/systemd-suspend.service.8
man/systemd-sysctl.8: man/systemd-sysctl.service.8
2014-06-30 00:15:01 +04:00
man/systemd-sysusers.service.8: man/systemd-sysusers.8
2013-02-03 07:38:33 +04:00
man/systemd-tmpfiles-clean.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.timer.8: man/systemd-tmpfiles.8
2013-04-23 11:56:32 +04:00
man/systemd-tmpfiles-setup-dev.service.8: man/systemd-tmpfiles.8
2013-02-03 07:38:33 +04:00
man/systemd-tmpfiles-setup.service.8: man/systemd-tmpfiles.8
man/systemd-udevd-control.socket.8: man/systemd-udevd.service.8
man/systemd-udevd-kernel.socket.8: man/systemd-udevd.service.8
man/systemd-udevd.8: man/systemd-udevd.service.8
2017-02-06 00:27:38 +03:00
man/systemd-umount.1: man/systemd-mount.1
2014-07-01 02:16:17 +04:00
man/systemd-update-done.8: man/systemd-update-done.service.8
2013-02-11 23:42:24 +04:00
man/systemd-user.conf.5: man/systemd-system.conf.5
2016-12-13 14:45:19 +03:00
man/systemd-volatile-root.8: man/systemd-volatile-root.service.8
2015-06-17 16:11:11 +03:00
man/udev_device_get_action.3: man/udev_device_get_syspath.3
man/udev_device_get_devlinks_list_entry.3: man/udev_device_has_tag.3
man/udev_device_get_devnode.3: man/udev_device_get_syspath.3
man/udev_device_get_devnum.3: man/udev_device_get_syspath.3
man/udev_device_get_devpath.3: man/udev_device_get_syspath.3
man/udev_device_get_devtype.3: man/udev_device_get_syspath.3
man/udev_device_get_driver.3: man/udev_device_get_syspath.3
man/udev_device_get_is_initialized.3: man/udev_device_get_syspath.3
man/udev_device_get_parent.3: man/udev_device_get_syspath.3
man/udev_device_get_parent_with_subsystem_devtype.3: man/udev_device_get_syspath.3
man/udev_device_get_properties_list_entry.3: man/udev_device_has_tag.3
man/udev_device_get_property_value.3: man/udev_device_has_tag.3
man/udev_device_get_subsystem.3: man/udev_device_get_syspath.3
man/udev_device_get_sysattr_list_entry.3: man/udev_device_has_tag.3
man/udev_device_get_sysattr_value.3: man/udev_device_has_tag.3
man/udev_device_get_sysname.3: man/udev_device_get_syspath.3
man/udev_device_get_sysnum.3: man/udev_device_get_syspath.3
man/udev_device_get_tags_list_entry.3: man/udev_device_has_tag.3
man/udev_device_get_udev.3: man/udev_device_get_syspath.3
man/udev_device_new_from_device_id.3: man/udev_device_new_from_syspath.3
man/udev_device_new_from_devnum.3: man/udev_device_new_from_syspath.3
man/udev_device_new_from_environment.3: man/udev_device_new_from_syspath.3
man/udev_device_new_from_subsystem_sysname.3: man/udev_device_new_from_syspath.3
man/udev_device_ref.3: man/udev_device_new_from_syspath.3
man/udev_device_set_sysattr_value.3: man/udev_device_has_tag.3
man/udev_device_unref.3: man/udev_device_new_from_syspath.3
man/udev_enumerate_add_match_is_initialized.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_match_parent.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_match_property.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_match_sysattr.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_match_sysname.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_match_tag.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_nomatch_subsystem.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_nomatch_sysattr.3: man/udev_enumerate_add_match_subsystem.3
man/udev_enumerate_add_syspath.3: man/udev_enumerate_scan_devices.3
man/udev_enumerate_get_list_entry.3: man/udev_enumerate_scan_devices.3
man/udev_enumerate_get_udev.3: man/udev_enumerate_scan_devices.3
man/udev_enumerate_ref.3: man/udev_enumerate_new.3
man/udev_enumerate_scan_subsystems.3: man/udev_enumerate_scan_devices.3
man/udev_enumerate_unref.3: man/udev_enumerate_new.3
man/udev_list_entry_get_by_name.3: man/udev_list_entry.3
man/udev_list_entry_get_name.3: man/udev_list_entry.3
man/udev_list_entry_get_next.3: man/udev_list_entry.3
man/udev_list_entry_get_value.3: man/udev_list_entry.3
man/udev_monitor_enable_receiving.3: man/udev_monitor_receive_device.3
man/udev_monitor_filter_add_match_subsystem_devtype.3: man/udev_monitor_filter_update.3
man/udev_monitor_filter_add_match_tag.3: man/udev_monitor_filter_update.3
man/udev_monitor_filter_remove.3: man/udev_monitor_filter_update.3
man/udev_monitor_get_fd.3: man/udev_monitor_receive_device.3
man/udev_monitor_get_udev.3: man/udev_monitor_receive_device.3
man/udev_monitor_ref.3: man/udev_monitor_new_from_netlink.3
man/udev_monitor_set_receive_buffer_size.3: man/udev_monitor_receive_device.3
man/udev_monitor_unref.3: man/udev_monitor_new_from_netlink.3
man/udev_ref.3: man/udev_new.3
man/udev_unref.3: man/udev_new.3
2014-11-29 12:06:04 +03:00
man/user.conf.d.5: man/systemd-system.conf.5
2013-03-08 20:03:50 +04:00
man/SD_ALERT.html: man/sd-daemon.html
$(html-alias)
2015-06-23 20:37:28 +03:00
man/SD_BUS_ERROR_ACCESS_DENIED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_ADDRESS_IN_USE.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_AUTH_FAILED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_BAD_ADDRESS.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_DISCONNECTED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_END.html: man/sd_bus_error_add_map.html
$(html-alias)
man/SD_BUS_ERROR_FAILED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_FILE_EXISTS.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_FILE_NOT_FOUND.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_INCONSISTENT_MESSAGE.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_INVALID_ARGS.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_INVALID_SIGNATURE.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_IO_ERROR.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_LIMITS_EXCEEDED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_MAKE_CONST.html: man/sd_bus_error.html
$(html-alias)
man/SD_BUS_ERROR_MAP.html: man/sd_bus_error_add_map.html
$(html-alias)
man/SD_BUS_ERROR_MATCH_RULE_INVALID.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_MATCH_RULE_NOT_FOUND.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NAME_HAS_NO_OWNER.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NOT_SUPPORTED.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NO_MEMORY.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NO_NETWORK.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NO_REPLY.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NO_SERVER.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_NULL.html: man/sd_bus_error.html
$(html-alias)
man/SD_BUS_ERROR_PROPERTY_READ_ONLY.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_SERVICE_UNKNOWN.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_TIMEOUT.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_UNKNOWN_INTERFACE.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_UNKNOWN_METHOD.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_UNKNOWN_OBJECT.html: man/sd-bus-errors.html
$(html-alias)
man/SD_BUS_ERROR_UNKNOWN_PROPERTY.html: man/sd-bus-errors.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_CRIT.html: man/sd-daemon.html
$(html-alias)
man/SD_DEBUG.html: man/sd-daemon.html
$(html-alias)
man/SD_EMERG.html: man/sd-daemon.html
$(html-alias)
man/SD_ERR.html: man/sd-daemon.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/SD_EVENT_ARMED.html: man/sd_event_wait.html
$(html-alias)
man/SD_EVENT_EXITING.html: man/sd_event_wait.html
$(html-alias)
man/SD_EVENT_FINISHED.html: man/sd_event_wait.html
$(html-alias)
man/SD_EVENT_INITIAL.html: man/sd_event_wait.html
$(html-alias)
man/SD_EVENT_OFF.html: man/sd_event_source_set_enabled.html
$(html-alias)
man/SD_EVENT_ON.html: man/sd_event_source_set_enabled.html
$(html-alias)
man/SD_EVENT_ONESHOT.html: man/sd_event_source_set_enabled.html
$(html-alias)
man/SD_EVENT_PENDING.html: man/sd_event_wait.html
$(html-alias)
man/SD_EVENT_PREPARING.html: man/sd_event_wait.html
$(html-alias)
man/SD_EVENT_PRIORITY_IDLE.html: man/sd_event_source_set_priority.html
$(html-alias)
man/SD_EVENT_PRIORITY_IMPORTANT.html: man/sd_event_source_set_priority.html
$(html-alias)
man/SD_EVENT_PRIORITY_NORMAL.html: man/sd_event_source_set_priority.html
$(html-alias)
man/SD_EVENT_RUNNING.html: man/sd_event_wait.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_ID128_CONST_STR.html: man/sd-id128.html
$(html-alias)
man/SD_ID128_FORMAT_STR.html: man/sd-id128.html
$(html-alias)
man/SD_ID128_FORMAT_VAL.html: man/sd-id128.html
$(html-alias)
man/SD_ID128_MAKE.html: man/sd-id128.html
$(html-alias)
2016-08-31 13:23:27 +03:00
man/SD_ID128_NULL.html: man/sd-id128.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_INFO.html: man/sd-daemon.html
$(html-alias)
man/SD_JOURNAL_APPEND.html: man/sd_journal_get_fd.html
$(html-alias)
2013-06-05 06:31:05 +04:00
man/SD_JOURNAL_CURRENT_USER.html: man/sd_journal_open.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_JOURNAL_FOREACH.html: man/sd_journal_next.html
$(html-alias)
man/SD_JOURNAL_FOREACH_BACKWARDS.html: man/sd_journal_next.html
$(html-alias)
man/SD_JOURNAL_FOREACH_DATA.html: man/sd_journal_get_data.html
$(html-alias)
2016-01-27 20:59:29 +03:00
man/SD_JOURNAL_FOREACH_FIELD.html: man/sd_journal_enumerate_fields.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_JOURNAL_FOREACH_UNIQUE.html: man/sd_journal_query_unique.html
$(html-alias)
man/SD_JOURNAL_INVALIDATE.html: man/sd_journal_get_fd.html
$(html-alias)
man/SD_JOURNAL_LOCAL_ONLY.html: man/sd_journal_open.html
$(html-alias)
man/SD_JOURNAL_NOP.html: man/sd_journal_get_fd.html
$(html-alias)
2016-04-25 12:39:38 +03:00
man/SD_JOURNAL_OS_ROOT.html: man/sd_journal_open.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_JOURNAL_RUNTIME_ONLY.html: man/sd_journal_open.html
$(html-alias)
man/SD_JOURNAL_SUPPRESS_LOCATION.html: man/sd_journal_print.html
$(html-alias)
2013-06-05 06:31:05 +04:00
man/SD_JOURNAL_SYSTEM.html: man/sd_journal_open.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/SD_LISTEN_FDS_START.html: man/sd_listen_fds.html
$(html-alias)
man/SD_NOTICE.html: man/sd-daemon.html
$(html-alias)
man/SD_WARNING.html: man/sd-daemon.html
$(html-alias)
man/init.html: man/systemd.html
$(html-alias)
2014-11-29 12:06:20 +03:00
man/journald.conf.d.html: man/journald.conf.html
$(html-alias)
2016-07-14 20:19:49 +03:00
man/libnss_systemd.so.2.html: man/nss-systemd.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/poweroff.html: man/halt.html
$(html-alias)
man/reboot.html: man/halt.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_audit_login_uid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_audit_session_id.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-23 21:42:57 +03:00
man/sd_bus_creds_get_augmented_mask.html: man/sd_bus_creds_new_from_pid.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_cgroup.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_cmdline.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_comm.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_description.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_egid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_euid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_exe.html: man/sd_bus_creds_get_pid.html
2013-11-07 20:51:09 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_fsgid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_fsuid.html: man/sd_bus_creds_get_pid.html
2013-04-19 03:11:38 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_gid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_mask.html: man/sd_bus_creds_new_from_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_owner_uid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_ppid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_selinux_context.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_session.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_sgid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_slice.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_suid.html: man/sd_bus_creds_get_pid.html
2013-04-05 21:24:47 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_supplementary_gids.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_tid.html: man/sd_bus_creds_get_pid.html
2013-04-05 21:24:47 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_tid_comm.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_tty.html: man/sd_bus_creds_get_pid.html
2013-12-21 05:26:08 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_uid.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_unique_name.html: man/sd_bus_creds_get_pid.html
2013-06-06 03:39:26 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_unit.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-23 21:42:57 +03:00
man/sd_bus_creds_get_user_slice.html: man/sd_bus_creds_get_pid.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_user_unit.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_get_well_known_names.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_has_bounding_cap.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_has_effective_cap.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_has_inheritable_cap.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_has_permitted_cap.html: man/sd_bus_creds_get_pid.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_creds_ref.html: man/sd_bus_creds_new_from_pid.html
$(html-alias)
man/sd_bus_creds_unref.html: man/sd_bus_creds_new_from_pid.html
$(html-alias)
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_bus_creds_unrefp.html: man/sd_bus_creds_new_from_pid.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_default_system.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_default_user.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_error_copy.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_free.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_get_errno.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_has_name.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_is_set.html: man/sd_bus_error.html
$(html-alias)
2015-06-23 20:37:28 +03:00
man/sd_bus_error_map.html: man/sd_bus_error_add_map.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_error_set.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_set_const.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_set_errno.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_set_errnof.html: man/sd_bus_error.html
$(html-alias)
2015-06-23 20:37:28 +03:00
man/sd_bus_error_set_errnofv.html: man/sd_bus_error.html
$(html-alias)
man/sd_bus_error_setf.html: man/sd_bus_error.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_message_append_array_iovec.html: man/sd_bus_message_append_array.html
$(html-alias)
man/sd_bus_message_append_array_memfd.html: man/sd_bus_message_append_array.html
$(html-alias)
man/sd_bus_message_append_array_space.html: man/sd_bus_message_append_array.html
$(html-alias)
man/sd_bus_message_append_string_iovec.html: man/sd_bus_message_append_string_memfd.html
$(html-alias)
man/sd_bus_message_append_string_space.html: man/sd_bus_message_append_string_memfd.html
$(html-alias)
man/sd_bus_message_get_realtime_usec.html: man/sd_bus_message_get_monotonic_usec.html
$(html-alias)
man/sd_bus_message_get_reply_cookie.html: man/sd_bus_message_get_cookie.html
$(html-alias)
man/sd_bus_message_get_seqnum.html: man/sd_bus_message_get_monotonic_usec.html
$(html-alias)
man/sd_bus_negotiate_creds.html: man/sd_bus_negotiate_fds.html
$(html-alias)
2015-06-23 21:44:15 +03:00
man/sd_bus_negotiate_timestamp.html: man/sd_bus_negotiate_fds.html
2015-06-18 00:50:02 +03:00
$(html-alias)
man/sd_bus_open.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_open_system.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_open_system_machine.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_open_system_remote.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_open_user.html: man/sd_bus_default.html
$(html-alias)
man/sd_bus_path_decode.html: man/sd_bus_path_encode.html
$(html-alias)
2015-09-25 20:05:23 +03:00
man/sd_bus_path_decode_many.html: man/sd_bus_path_encode.html
$(html-alias)
man/sd_bus_path_encode_many.html: man/sd_bus_path_encode.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_ref.html: man/sd_bus_new.html
$(html-alias)
man/sd_bus_release_name.html: man/sd_bus_request_name.html
$(html-alias)
2016-08-15 15:59:59 +03:00
man/sd_bus_track_add_sender.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_contains.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_count.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_count_name.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_count_sender.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_first.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_get_bus.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_get_recursive.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_get_userdata.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_next.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_ref.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_remove_name.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_remove_sender.html: man/sd_bus_track_add_name.html
$(html-alias)
man/sd_bus_track_set_recursive.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_set_userdata.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_unref.html: man/sd_bus_track_new.html
$(html-alias)
man/sd_bus_track_unrefp.html: man/sd_bus_track_new.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_bus_unref.html: man/sd_bus_new.html
$(html-alias)
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_bus_unrefp.html: man/sd_bus_new.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event.html: man/sd_event_new.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_event_add_exit.html: man/sd_event_add_defer.html
$(html-alias)
man/sd_event_add_post.html: man/sd_event_add_defer.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_child_handler_t.html: man/sd_event_add_child.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_event_default.html: man/sd_event_new.html
$(html-alias)
man/sd_event_dispatch.html: man/sd_event_wait.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_get_exit_code.html: man/sd_event_exit.html
$(html-alias)
2016-06-30 22:25:07 +03:00
man/sd_event_get_iteration.html: man/sd_event_wait.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_get_state.html: man/sd_event_wait.html
$(html-alias)
man/sd_event_get_tid.html: man/sd_event_new.html
$(html-alias)
man/sd_event_get_watchdog.html: man/sd_event_set_watchdog.html
$(html-alias)
man/sd_event_handler_t.html: man/sd_event_add_defer.html
$(html-alias)
man/sd_event_io_handler_t.html: man/sd_event_add_io.html
2015-06-18 00:50:02 +03:00
$(html-alias)
man/sd_event_loop.html: man/sd_event_run.html
$(html-alias)
man/sd_event_prepare.html: man/sd_event_wait.html
$(html-alias)
man/sd_event_ref.html: man/sd_event_new.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_signal_handler_t.html: man/sd_event_add_signal.html
$(html-alias)
man/sd_event_source.html: man/sd_event_add_io.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_event_source_get_child_pid.html: man/sd_event_add_child.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_source_get_description.html: man/sd_event_source_set_description.html
$(html-alias)
man/sd_event_source_get_enabled.html: man/sd_event_source_set_enabled.html
$(html-alias)
man/sd_event_source_get_io_events.html: man/sd_event_add_io.html
$(html-alias)
man/sd_event_source_get_io_fd.html: man/sd_event_add_io.html
$(html-alias)
man/sd_event_source_get_io_revents.html: man/sd_event_add_io.html
$(html-alias)
man/sd_event_source_get_priority.html: man/sd_event_source_set_priority.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_event_source_get_signal.html: man/sd_event_add_signal.html
$(html-alias)
man/sd_event_source_get_time.html: man/sd_event_add_time.html
$(html-alias)
man/sd_event_source_get_time_accuracy.html: man/sd_event_add_time.html
$(html-alias)
man/sd_event_source_get_time_clock.html: man/sd_event_add_time.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_source_get_userdata.html: man/sd_event_source_set_userdata.html
$(html-alias)
man/sd_event_source_ref.html: man/sd_event_source_unref.html
$(html-alias)
man/sd_event_source_set_io_events.html: man/sd_event_add_io.html
$(html-alias)
man/sd_event_source_set_io_fd.html: man/sd_event_add_io.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_event_source_set_time.html: man/sd_event_add_time.html
$(html-alias)
man/sd_event_source_set_time_accuracy.html: man/sd_event_add_time.html
$(html-alias)
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_event_source_unrefp.html: man/sd_event_source_unref.html
$(html-alias)
2015-11-20 01:38:54 +03:00
man/sd_event_time_handler_t.html: man/sd_event_add_time.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_event_unref.html: man/sd_event_new.html
$(html-alias)
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_event_unrefp.html: man/sd_event_new.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_id128_equal.html: man/sd-id128.html
$(html-alias)
man/sd_id128_from_string.html: man/sd_id128_to_string.html
$(html-alias)
man/sd_id128_get_boot.html: man/sd_id128_get_machine.html
$(html-alias)
2016-08-31 00:18:46 +03:00
man/sd_id128_get_invocation.html: man/sd_id128_get_machine.html
$(html-alias)
2016-11-17 19:07:46 +03:00
man/sd_id128_get_machine_app_specific.html: man/sd_id128_get_machine.html
$(html-alias)
2016-08-31 13:23:27 +03:00
man/sd_id128_is_null.html: man/sd-id128.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_id128_t.html: man/sd-id128.html
$(html-alias)
man/sd_is_mq.html: man/sd_is_fifo.html
$(html-alias)
man/sd_is_socket.html: man/sd_is_fifo.html
$(html-alias)
man/sd_is_socket_inet.html: man/sd_is_fifo.html
$(html-alias)
2016-12-14 13:51:26 +03:00
man/sd_is_socket_sockaddr.html: man/sd_is_fifo.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_is_socket_unix.html: man/sd_is_fifo.html
$(html-alias)
man/sd_is_special.html: man/sd_is_fifo.html
$(html-alias)
man/sd_journal.html: man/sd_journal_open.html
$(html-alias)
man/sd_journal_add_conjunction.html: man/sd_journal_add_match.html
$(html-alias)
man/sd_journal_add_disjunction.html: man/sd_journal_add_match.html
$(html-alias)
man/sd_journal_close.html: man/sd_journal_open.html
$(html-alias)
man/sd_journal_enumerate_data.html: man/sd_journal_get_data.html
$(html-alias)
man/sd_journal_enumerate_unique.html: man/sd_journal_query_unique.html
$(html-alias)
man/sd_journal_flush_matches.html: man/sd_journal_add_match.html
$(html-alias)
man/sd_journal_get_catalog_for_message_id.html: man/sd_journal_get_catalog.html
$(html-alias)
man/sd_journal_get_cutoff_monotonic_usec.html: man/sd_journal_get_cutoff_realtime_usec.html
$(html-alias)
man/sd_journal_get_data_threshold.html: man/sd_journal_get_data.html
$(html-alias)
man/sd_journal_get_events.html: man/sd_journal_get_fd.html
$(html-alias)
man/sd_journal_get_monotonic_usec.html: man/sd_journal_get_realtime_usec.html
$(html-alias)
man/sd_journal_get_timeout.html: man/sd_journal_get_fd.html
$(html-alias)
2016-02-01 11:23:58 +03:00
man/sd_journal_has_persistent_files.html: man/sd_journal_has_runtime_files.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_journal_next_skip.html: man/sd_journal_next.html
$(html-alias)
2016-04-25 12:39:38 +03:00
man/sd_journal_open_directory.html: man/sd_journal_open.html
2015-06-18 00:50:02 +03:00
$(html-alias)
2016-04-25 12:39:38 +03:00
man/sd_journal_open_directory_fd.html: man/sd_journal_open.html
2015-06-18 00:50:02 +03:00
$(html-alias)
man/sd_journal_open_files.html: man/sd_journal_open.html
$(html-alias)
2016-04-25 12:39:38 +03:00
man/sd_journal_open_files_fd.html: man/sd_journal_open.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_journal_perror.html: man/sd_journal_print.html
$(html-alias)
man/sd_journal_previous.html: man/sd_journal_next.html
$(html-alias)
man/sd_journal_previous_skip.html: man/sd_journal_next.html
$(html-alias)
man/sd_journal_printv.html: man/sd_journal_print.html
$(html-alias)
man/sd_journal_process.html: man/sd_journal_get_fd.html
$(html-alias)
man/sd_journal_reliable_fd.html: man/sd_journal_get_fd.html
$(html-alias)
man/sd_journal_restart_data.html: man/sd_journal_get_data.html
$(html-alias)
2016-01-27 20:59:29 +03:00
man/sd_journal_restart_fields.html: man/sd_journal_enumerate_fields.html
$(html-alias)
2015-06-18 00:50:02 +03:00
man/sd_journal_restart_unique.html: man/sd_journal_query_unique.html
2013-03-08 20:03:50 +04:00
$(html-alias)
man/sd_journal_seek_cursor.html: man/sd_journal_seek_head.html
$(html-alias)
man/sd_journal_seek_monotonic_usec.html: man/sd_journal_seek_head.html
$(html-alias)
man/sd_journal_seek_realtime_usec.html: man/sd_journal_seek_head.html
$(html-alias)
man/sd_journal_seek_tail.html: man/sd_journal_seek_head.html
$(html-alias)
man/sd_journal_send.html: man/sd_journal_print.html
$(html-alias)
man/sd_journal_sendv.html: man/sd_journal_print.html
$(html-alias)
man/sd_journal_set_data_threshold.html: man/sd_journal_get_data.html
$(html-alias)
man/sd_journal_test_cursor.html: man/sd_journal_get_cursor.html
$(html-alias)
man/sd_journal_wait.html: man/sd_journal_get_fd.html
$(html-alias)
2015-10-04 18:36:19 +03:00
man/sd_listen_fds_with_names.html: man/sd_listen_fds.html
$(html-alias)
2014-10-18 18:06:21 +04:00
man/sd_machine_get_ifindices.html: man/sd_machine_get_class.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_notifyf.html: man/sd_notify.html
$(html-alias)
2015-01-06 02:26:25 +03:00
man/sd_pid_notify.html: man/sd_notify.html
$(html-alias)
man/sd_pid_notify_with_fds.html: man/sd_notify.html
$(html-alias)
man/sd_pid_notifyf.html: man/sd_notify.html
$(html-alias)
2014-11-29 12:06:28 +03:00
man/sleep.conf.d.html: man/systemd-sleep.conf.html
$(html-alias)
2014-11-29 12:06:04 +03:00
man/system.conf.d.html: man/systemd-system.conf.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-ask-password-console.path.html: man/systemd-ask-password-console.service.html
$(html-alias)
man/systemd-ask-password-wall.path.html: man/systemd-ask-password-console.service.html
$(html-alias)
man/systemd-ask-password-wall.service.html: man/systemd-ask-password-console.service.html
$(html-alias)
man/systemd-fsck-root.service.html: man/systemd-fsck@.service.html
$(html-alias)
man/systemd-fsck.html: man/systemd-fsck@.service.html
$(html-alias)
2014-08-27 00:17:44 +04:00
man/systemd-hibernate-resume.html: man/systemd-hibernate-resume@.service.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-hibernate.service.html: man/systemd-suspend.service.html
$(html-alias)
man/systemd-hybrid-sleep.service.html: man/systemd-suspend.service.html
$(html-alias)
man/systemd-initctl.html: man/systemd-initctl.service.html
$(html-alias)
man/systemd-initctl.socket.html: man/systemd-initctl.service.html
$(html-alias)
2015-10-12 06:25:43 +03:00
man/systemd-journald-audit.socket.html: man/systemd-journald.service.html
$(html-alias)
2014-06-19 15:47:07 +04:00
man/systemd-journald-dev-log.socket.html: man/systemd-journald.service.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-journald.html: man/systemd-journald.service.html
$(html-alias)
man/systemd-journald.socket.html: man/systemd-journald.service.html
$(html-alias)
man/systemd-kexec.service.html: man/systemd-halt.service.html
$(html-alias)
man/systemd-poweroff.service.html: man/systemd-halt.service.html
$(html-alias)
man/systemd-reboot.service.html: man/systemd-halt.service.html
$(html-alias)
man/systemd-remount-fs.html: man/systemd-remount-fs.service.html
$(html-alias)
man/systemd-shutdown.html: man/systemd-halt.service.html
$(html-alias)
man/systemd-sleep.html: man/systemd-suspend.service.html
$(html-alias)
man/systemd-sysctl.html: man/systemd-sysctl.service.html
$(html-alias)
2014-06-30 00:15:01 +04:00
man/systemd-sysusers.service.html: man/systemd-sysusers.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-tmpfiles-clean.service.html: man/systemd-tmpfiles.html
$(html-alias)
man/systemd-tmpfiles-clean.timer.html: man/systemd-tmpfiles.html
$(html-alias)
2013-04-23 11:56:32 +04:00
man/systemd-tmpfiles-setup-dev.service.html: man/systemd-tmpfiles.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-tmpfiles-setup.service.html: man/systemd-tmpfiles.html
$(html-alias)
man/systemd-udevd-control.socket.html: man/systemd-udevd.service.html
$(html-alias)
man/systemd-udevd-kernel.socket.html: man/systemd-udevd.service.html
$(html-alias)
man/systemd-udevd.html: man/systemd-udevd.service.html
$(html-alias)
2017-02-06 00:27:38 +03:00
man/systemd-umount.html: man/systemd-mount.html
$(html-alias)
2014-07-01 02:16:17 +04:00
man/systemd-update-done.html: man/systemd-update-done.service.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-user.conf.html: man/systemd-system.conf.html
$(html-alias)
2016-12-13 14:45:19 +03:00
man/systemd-volatile-root.html: man/systemd-volatile-root.service.html
$(html-alias)
2015-06-17 16:11:11 +03:00
man/udev_device_get_action.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_devlinks_list_entry.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_get_devnode.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_devnum.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_devpath.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_devtype.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_driver.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_is_initialized.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_parent.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_parent_with_subsystem_devtype.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_properties_list_entry.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_get_property_value.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_get_subsystem.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_sysattr_list_entry.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_get_sysattr_value.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_get_sysname.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_sysnum.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_get_tags_list_entry.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_get_udev.html: man/udev_device_get_syspath.html
$(html-alias)
man/udev_device_new_from_device_id.html: man/udev_device_new_from_syspath.html
$(html-alias)
man/udev_device_new_from_devnum.html: man/udev_device_new_from_syspath.html
$(html-alias)
man/udev_device_new_from_environment.html: man/udev_device_new_from_syspath.html
$(html-alias)
man/udev_device_new_from_subsystem_sysname.html: man/udev_device_new_from_syspath.html
$(html-alias)
man/udev_device_ref.html: man/udev_device_new_from_syspath.html
$(html-alias)
man/udev_device_set_sysattr_value.html: man/udev_device_has_tag.html
$(html-alias)
man/udev_device_unref.html: man/udev_device_new_from_syspath.html
$(html-alias)
man/udev_enumerate_add_match_is_initialized.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_match_parent.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_match_property.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_match_sysattr.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_match_sysname.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_match_tag.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_nomatch_subsystem.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_nomatch_sysattr.html: man/udev_enumerate_add_match_subsystem.html
$(html-alias)
man/udev_enumerate_add_syspath.html: man/udev_enumerate_scan_devices.html
$(html-alias)
man/udev_enumerate_get_list_entry.html: man/udev_enumerate_scan_devices.html
$(html-alias)
man/udev_enumerate_get_udev.html: man/udev_enumerate_scan_devices.html
$(html-alias)
man/udev_enumerate_ref.html: man/udev_enumerate_new.html
$(html-alias)
man/udev_enumerate_scan_subsystems.html: man/udev_enumerate_scan_devices.html
$(html-alias)
man/udev_enumerate_unref.html: man/udev_enumerate_new.html
$(html-alias)
man/udev_list_entry_get_by_name.html: man/udev_list_entry.html
$(html-alias)
man/udev_list_entry_get_name.html: man/udev_list_entry.html
$(html-alias)
man/udev_list_entry_get_next.html: man/udev_list_entry.html
$(html-alias)
man/udev_list_entry_get_value.html: man/udev_list_entry.html
$(html-alias)
man/udev_monitor_enable_receiving.html: man/udev_monitor_receive_device.html
$(html-alias)
man/udev_monitor_filter_add_match_subsystem_devtype.html: man/udev_monitor_filter_update.html
$(html-alias)
man/udev_monitor_filter_add_match_tag.html: man/udev_monitor_filter_update.html
$(html-alias)
man/udev_monitor_filter_remove.html: man/udev_monitor_filter_update.html
$(html-alias)
man/udev_monitor_get_fd.html: man/udev_monitor_receive_device.html
$(html-alias)
man/udev_monitor_get_udev.html: man/udev_monitor_receive_device.html
$(html-alias)
man/udev_monitor_ref.html: man/udev_monitor_new_from_netlink.html
$(html-alias)
man/udev_monitor_set_receive_buffer_size.html: man/udev_monitor_receive_device.html
$(html-alias)
man/udev_monitor_unref.html: man/udev_monitor_new_from_netlink.html
$(html-alias)
man/udev_ref.html: man/udev_new.html
$(html-alias)
man/udev_unref.html: man/udev_new.html
$(html-alias)
2014-11-29 12:06:04 +03:00
man/user.conf.d.html: man/systemd-system.conf.html
$(html-alias)
2013-02-03 07:38:33 +04:00
2013-08-14 05:11:30 +04:00
if ENABLE_BACKLIGHT
MANPAGES += \
man/systemd-backlight@.service.8
MANPAGES_ALIAS += \
man/systemd-backlight.8
man/systemd-backlight.8: man/systemd-backlight@.service.8
man/systemd-backlight.html: man/systemd-backlight@.service.html
$(html-alias)
endif
2013-02-03 07:38:33 +04:00
if ENABLE_BINFMT
MANPAGES += \
man/binfmt.d.5 \
man/systemd-binfmt.service.8
MANPAGES_ALIAS += \
man/systemd-binfmt.8
man/systemd-binfmt.8: man/systemd-binfmt.service.8
2013-03-08 20:03:50 +04:00
man/systemd-binfmt.html: man/systemd-binfmt.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
2013-03-05 02:20:16 +04:00
if ENABLE_COREDUMP
MANPAGES += \
2014-06-26 09:02:48 +04:00
man/coredump.conf.5 \
2014-07-14 04:32:46 +04:00
man/coredumpctl.1 \
man/systemd-coredump.8
2013-03-05 02:20:16 +04:00
MANPAGES_ALIAS += \
2016-04-06 04:00:10 +03:00
man/coredump.conf.d.5 \
man/systemd-coredump.socket.8 \
man/systemd-coredump@.service.8
2014-11-29 12:06:48 +03:00
man/coredump.conf.d.5: man/coredump.conf.5
2016-04-06 04:00:10 +03:00
man/systemd-coredump.socket.8: man/systemd-coredump.8
man/systemd-coredump@.service.8: man/systemd-coredump.8
2014-11-29 12:06:48 +03:00
man/coredump.conf.d.html: man/coredump.conf.html
$(html-alias)
2013-03-08 20:03:50 +04:00
2016-04-06 04:00:10 +03:00
man/systemd-coredump.socket.html: man/systemd-coredump.html
$(html-alias)
man/systemd-coredump@.service.html: man/systemd-coredump.html
$(html-alias)
2013-11-13 13:06:13 +04:00
endif
if ENABLE_EFI
MANPAGES += \
man/bootctl.1
MANPAGES_ALIAS += \
#
2013-03-05 02:20:16 +04:00
endif
2015-02-04 23:31:26 +03:00
if ENABLE_FIRSTBOOT
MANPAGES += \
man/systemd-firstboot.1
MANPAGES_ALIAS += \
man/systemd-firstboot.service.1
man/systemd-firstboot.service.1: man/systemd-firstboot.1
man/systemd-firstboot.service.html: man/systemd-firstboot.html
$(html-alias)
endif
2013-02-03 07:38:33 +04:00
if ENABLE_HOSTNAMED
MANPAGES += \
man/hostnamectl.1 \
man/systemd-hostnamed.service.8
MANPAGES_ALIAS += \
man/systemd-hostnamed.8
man/systemd-hostnamed.8: man/systemd-hostnamed.service.8
2013-03-08 20:03:50 +04:00
man/systemd-hostnamed.html: man/systemd-hostnamed.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
2015-01-06 02:26:25 +03:00
if ENABLE_HWDB
MANPAGES += \
man/hwdb.7 \
man/systemd-hwdb.8
MANPAGES_ALIAS += \
#
endif
2016-02-23 18:23:42 +03:00
if ENABLE_IMPORTD
MANPAGES += \
man/systemd-importd.service.8
MANPAGES_ALIAS += \
man/systemd-importd.8
man/systemd-importd.8: man/systemd-importd.service.8
man/systemd-importd.html: man/systemd-importd.service.html
$(html-alias)
endif
2013-02-03 07:38:33 +04:00
if ENABLE_LOCALED
MANPAGES += \
man/localectl.1 \
man/systemd-localed.service.8
MANPAGES_ALIAS += \
man/systemd-localed.8
man/systemd-localed.8: man/systemd-localed.service.8
2013-03-08 20:03:50 +04:00
man/systemd-localed.html: man/systemd-localed.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
2013-03-04 21:57:12 +04:00
if ENABLE_LOGIND
MANPAGES += \
2013-07-07 06:22:05 +04:00
man/loginctl.1 \
2013-03-04 21:57:12 +04:00
man/logind.conf.5 \
man/systemd-logind.service.8
MANPAGES_ALIAS += \
2014-11-29 12:05:20 +03:00
man/logind.conf.d.5 \
2013-03-04 21:57:12 +04:00
man/systemd-logind.8
2014-11-29 12:05:20 +03:00
man/logind.conf.d.5: man/logind.conf.5
2013-03-04 21:57:12 +04:00
man/systemd-logind.8: man/systemd-logind.service.8
2014-11-29 12:05:20 +03:00
man/logind.conf.d.html: man/logind.conf.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-logind.html: man/systemd-logind.service.html
$(html-alias)
2013-03-04 21:57:12 +04:00
endif
2013-07-07 06:22:05 +04:00
if ENABLE_MACHINED
MANPAGES += \
man/machinectl.1 \
2015-01-07 19:40:10 +03:00
man/nss-mymachines.8 \
2013-07-07 06:22:05 +04:00
man/systemd-machined.service.8
MANPAGES_ALIAS += \
2015-01-07 19:40:10 +03:00
man/libnss_mymachines.so.2.8 \
2013-07-07 06:22:05 +04:00
man/systemd-machined.8
2015-01-07 19:40:10 +03:00
man/libnss_mymachines.so.2.8: man/nss-mymachines.8
2013-07-07 06:22:05 +04:00
man/systemd-machined.8: man/systemd-machined.service.8
2015-01-07 19:40:10 +03:00
man/libnss_mymachines.so.2.html: man/nss-mymachines.html
$(html-alias)
2013-07-07 06:22:05 +04:00
man/systemd-machined.html: man/systemd-machined.service.html
$(html-alias)
endif
2013-11-13 01:44:18 +04:00
if ENABLE_NETWORKD
MANPAGES += \
2015-06-30 16:29:48 +03:00
man/networkctl.1 \
2016-03-10 08:58:44 +03:00
man/networkd.conf.5 \
networkd-wait-online: improve interoptability and enable by default
To make sure we don't delay boot on systems where (some) network links are managed by someone else
we don't block if something else has successfully brought up a link.
We will still block until all links we are aware of that are managed by networkd have been
configured, but if no such links exist, and someone else have configured a link sufficiently
that it has a carrier, it may be that the link is ready so we should no longer block.
Note that in all likelyhood the link is not ready (no addresses/routes configured),
so whatever network managment daemon configured it should provide a similar wait-online
service to block network-online.target until it is ready.
The aim is to block as long as we know networking is not fully configured, but no longer. This
will allow systemd-networkd-wait-online.service to be enabled on any system, even if we don't
know whether networkd is the main/only network manager.
Even in the case networking is fully configured by networkd, the default behavior may not be
sufficient: if two links need to be configured, but the first is fully configured before the
second one appears we will assume the network is up. To work around that, we allow specifying
specific devices to wait for before considering the network up.
This unit is enabled by default, just like systemd-networkd, but will only be pulled in if
anyone pulls in network-online.target.
2014-04-23 19:42:55 +04:00
man/systemd-networkd-wait-online.service.8 \
2014-05-06 20:51:08 +04:00
man/systemd-networkd.service.8 \
2014-03-07 08:24:30 +04:00
man/systemd.netdev.5 \
man/systemd.network.5
2013-11-13 01:44:18 +04:00
MANPAGES_ALIAS += \
2016-03-10 08:58:44 +03:00
man/networkd.conf.d.5 \
2014-05-06 20:51:08 +04:00
man/systemd-networkd-wait-online.8 \
man/systemd-networkd.8
2016-03-10 08:58:44 +03:00
man/networkd.conf.d.5: man/networkd.conf.5
networkd-wait-online: improve interoptability and enable by default
To make sure we don't delay boot on systems where (some) network links are managed by someone else
we don't block if something else has successfully brought up a link.
We will still block until all links we are aware of that are managed by networkd have been
configured, but if no such links exist, and someone else have configured a link sufficiently
that it has a carrier, it may be that the link is ready so we should no longer block.
Note that in all likelyhood the link is not ready (no addresses/routes configured),
so whatever network managment daemon configured it should provide a similar wait-online
service to block network-online.target until it is ready.
The aim is to block as long as we know networking is not fully configured, but no longer. This
will allow systemd-networkd-wait-online.service to be enabled on any system, even if we don't
know whether networkd is the main/only network manager.
Even in the case networking is fully configured by networkd, the default behavior may not be
sufficient: if two links need to be configured, but the first is fully configured before the
second one appears we will assume the network is up. To work around that, we allow specifying
specific devices to wait for before considering the network up.
This unit is enabled by default, just like systemd-networkd, but will only be pulled in if
anyone pulls in network-online.target.
2014-04-23 19:42:55 +04:00
man/systemd-networkd-wait-online.8: man/systemd-networkd-wait-online.service.8
2014-05-06 20:51:08 +04:00
man/systemd-networkd.8: man/systemd-networkd.service.8
2016-03-10 08:58:44 +03:00
man/networkd.conf.d.html: man/networkd.conf.html
$(html-alias)
2014-05-06 20:51:08 +04:00
man/systemd-networkd-wait-online.html: man/systemd-networkd-wait-online.service.html
2014-04-29 17:42:05 +04:00
$(html-alias)
2014-05-06 20:51:08 +04:00
man/systemd-networkd.html: man/systemd-networkd.service.html
2013-11-13 01:44:18 +04:00
$(html-alias)
endif
2013-02-03 07:38:33 +04:00
if ENABLE_QUOTACHECK
MANPAGES += \
man/systemd-quotacheck.service.8
MANPAGES_ALIAS += \
man/systemd-quotacheck.8
man/systemd-quotacheck.8: man/systemd-quotacheck.service.8
2013-03-08 20:03:50 +04:00
man/systemd-quotacheck.html: man/systemd-quotacheck.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
if ENABLE_RANDOMSEED
MANPAGES += \
2013-05-16 00:38:51 +04:00
man/systemd-random-seed.service.8
2013-02-03 07:38:33 +04:00
MANPAGES_ALIAS += \
man/systemd-random-seed.8
2013-05-16 00:38:51 +04:00
man/systemd-random-seed.8: man/systemd-random-seed.service.8
man/systemd-random-seed.html: man/systemd-random-seed.service.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
2014-05-19 00:10:48 +04:00
if ENABLE_RESOLVED
MANPAGES += \
2016-01-05 16:20:27 +03:00
man/dnssec-trust-anchors.d.5 \
2015-08-26 12:00:09 +03:00
man/nss-resolve.8 \
2014-05-19 00:10:48 +04:00
man/resolved.conf.5 \
man/systemd-resolved.service.8
MANPAGES_ALIAS += \
2015-08-26 12:00:09 +03:00
man/libnss_resolve.so.2.8 \
2014-11-29 12:07:11 +03:00
man/resolved.conf.d.5 \
2016-01-05 16:20:27 +03:00
man/systemd-resolved.8 \
man/systemd.negative.5 \
man/systemd.positive.5
2015-08-26 12:00:09 +03:00
man/libnss_resolve.so.2.8: man/nss-resolve.8
2014-11-29 12:07:11 +03:00
man/resolved.conf.d.5: man/resolved.conf.5
2014-05-19 00:10:48 +04:00
man/systemd-resolved.8: man/systemd-resolved.service.8
2016-01-05 16:20:27 +03:00
man/systemd.negative.5: man/dnssec-trust-anchors.d.5
man/systemd.positive.5: man/dnssec-trust-anchors.d.5
2015-08-26 12:00:09 +03:00
man/libnss_resolve.so.2.html: man/nss-resolve.html
$(html-alias)
2014-11-29 12:07:11 +03:00
man/resolved.conf.d.html: man/resolved.conf.html
$(html-alias)
2014-05-19 00:10:48 +04:00
man/systemd-resolved.html: man/systemd-resolved.service.html
$(html-alias)
2016-01-05 16:20:27 +03:00
man/systemd.negative.html: man/dnssec-trust-anchors.d.html
$(html-alias)
man/systemd.positive.html: man/dnssec-trust-anchors.d.html
$(html-alias)
2014-05-19 00:10:48 +04:00
endif
2013-10-14 06:31:49 +04:00
if ENABLE_RFKILL
MANPAGES += \
2015-10-01 15:32:48 +03:00
man/systemd-rfkill.service.8
2013-10-14 06:31:49 +04:00
MANPAGES_ALIAS += \
2015-10-01 15:32:48 +03:00
man/systemd-rfkill.8 \
man/systemd-rfkill.socket.8
man/systemd-rfkill.8: man/systemd-rfkill.service.8
man/systemd-rfkill.socket.8: man/systemd-rfkill.service.8
man/systemd-rfkill.html: man/systemd-rfkill.service.html
$(html-alias)
man/systemd-rfkill.socket.html: man/systemd-rfkill.service.html
2013-10-14 06:31:49 +04:00
$(html-alias)
endif
2015-06-30 16:29:48 +03:00
if ENABLE_SYSUSERS
MANPAGES += \
man/sysusers.d.5
MANPAGES_ALIAS += \
#
endif
2013-02-03 07:38:33 +04:00
if ENABLE_TIMEDATED
MANPAGES += \
man/systemd-timedated.service.8 \
man/timedatectl.1
MANPAGES_ALIAS += \
man/systemd-timedated.8
man/systemd-timedated.8: man/systemd-timedated.service.8
2013-03-08 20:03:50 +04:00
man/systemd-timedated.html: man/systemd-timedated.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
2014-04-29 10:57:51 +04:00
if ENABLE_TIMESYNCD
MANPAGES += \
2014-08-12 21:48:24 +04:00
man/systemd-timesyncd.service.8 \
man/timesyncd.conf.5
2014-04-29 10:57:51 +04:00
MANPAGES_ALIAS += \
2014-11-29 12:07:21 +03:00
man/systemd-timesyncd.8 \
man/timesyncd.conf.d.5
2014-04-29 10:57:51 +04:00
man/systemd-timesyncd.8: man/systemd-timesyncd.service.8
2014-11-29 12:07:21 +03:00
man/timesyncd.conf.d.5: man/timesyncd.conf.5
2014-04-29 10:57:51 +04:00
man/systemd-timesyncd.html: man/systemd-timesyncd.service.html
$(html-alias)
2014-11-29 12:07:21 +03:00
man/timesyncd.conf.d.html: man/timesyncd.conf.html
$(html-alias)
2014-04-29 10:57:51 +04:00
endif
2013-02-03 07:38:33 +04:00
if ENABLE_VCONSOLE
MANPAGES += \
man/systemd-vconsole-setup.service.8 \
man/vconsole.conf.5
MANPAGES_ALIAS += \
man/systemd-vconsole-setup.8
man/systemd-vconsole-setup.8: man/systemd-vconsole-setup.service.8
2013-03-08 20:03:50 +04:00
man/systemd-vconsole-setup.html: man/systemd-vconsole-setup.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
if HAVE_KMOD
MANPAGES += \
man/modules-load.d.5 \
man/systemd-modules-load.service.8
MANPAGES_ALIAS += \
man/systemd-modules-load.8
man/systemd-modules-load.8: man/systemd-modules-load.service.8
2013-03-08 20:03:50 +04:00
man/systemd-modules-load.html: man/systemd-modules-load.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
if HAVE_LIBCRYPTSETUP
MANPAGES += \
man/crypttab.5 \
man/systemd-cryptsetup-generator.8 \
2016-12-16 14:57:44 +03:00
man/systemd-cryptsetup@.service.8 \
man/systemd-veritysetup-generator.8 \
man/systemd-veritysetup@.service.8
2013-02-03 07:38:33 +04:00
MANPAGES_ALIAS += \
2016-12-16 14:57:44 +03:00
man/systemd-cryptsetup.8 \
man/systemd-veritysetup.8
2013-02-03 07:38:33 +04:00
man/systemd-cryptsetup.8: man/systemd-cryptsetup@.service.8
2016-12-16 14:57:44 +03:00
man/systemd-veritysetup.8: man/systemd-veritysetup@.service.8
2013-03-08 20:03:50 +04:00
man/systemd-cryptsetup.html: man/systemd-cryptsetup@.service.html
$(html-alias)
2016-12-16 14:57:44 +03:00
man/systemd-veritysetup.html: man/systemd-veritysetup@.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
if HAVE_MICROHTTPD
MANPAGES += \
2015-03-22 03:47:46 +03:00
man/journal-remote.conf.5 \
2016-10-15 23:12:46 +03:00
man/journal-upload.conf.5 \
2014-03-15 23:58:03 +04:00
man/systemd-journal-gatewayd.service.8 \
2014-07-10 22:50:50 +04:00
man/systemd-journal-remote.8 \
man/systemd-journal-upload.8
2013-02-03 07:38:33 +04:00
MANPAGES_ALIAS += \
2015-03-22 03:47:46 +03:00
man/journal-remote.conf.d.5 \
2016-10-15 23:12:46 +03:00
man/journal-upload.conf.d.5 \
2013-02-03 07:38:33 +04:00
man/systemd-journal-gatewayd.8 \
man/systemd-journal-gatewayd.socket.8
2015-03-22 03:47:46 +03:00
man/journal-remote.conf.d.5: man/journal-remote.conf.5
2016-10-15 23:12:46 +03:00
man/journal-upload.conf.d.5: man/journal-upload.conf.5
2013-02-03 07:38:33 +04:00
man/systemd-journal-gatewayd.8: man/systemd-journal-gatewayd.service.8
man/systemd-journal-gatewayd.socket.8: man/systemd-journal-gatewayd.service.8
2015-03-22 03:47:46 +03:00
man/journal-remote.conf.d.html: man/journal-remote.conf.html
$(html-alias)
2016-10-15 23:12:46 +03:00
man/journal-upload.conf.d.html: man/journal-upload.conf.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/systemd-journal-gatewayd.html: man/systemd-journal-gatewayd.service.html
$(html-alias)
man/systemd-journal-gatewayd.socket.html: man/systemd-journal-gatewayd.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
if HAVE_MYHOSTNAME
MANPAGES += \
man/nss-myhostname.8
2013-02-03 07:47:47 +04:00
MANPAGES_ALIAS += \
2015-01-07 19:19:46 +03:00
man/libnss_myhostname.so.2.8
man/libnss_myhostname.so.2.8: man/nss-myhostname.8
man/libnss_myhostname.so.2.html: man/nss-myhostname.html
$(html-alias)
2013-03-08 20:03:50 +04:00
2013-02-03 07:38:33 +04:00
endif
if HAVE_PAM
MANPAGES += \
2013-03-04 22:16:38 +04:00
man/pam_systemd.8 \
2013-02-03 07:38:33 +04:00
man/sd-login.3 \
man/sd_get_seats.3 \
man/sd_login_monitor_new.3 \
man/sd_pid_get_session.3 \
man/sd_seat_get_active.3 \
man/sd_session_is_active.3 \
man/sd_uid_get_state.3 \
man/systemd-user-sessions.service.8
MANPAGES_ALIAS += \
2013-04-27 02:01:32 +04:00
man/sd_get_machine_names.3 \
2013-02-03 07:38:33 +04:00
man/sd_get_sessions.3 \
man/sd_get_uids.3 \
man/sd_login_monitor.3 \
man/sd_login_monitor_flush.3 \
2013-04-05 21:24:47 +04:00
man/sd_login_monitor_get_events.3 \
2013-02-03 07:38:33 +04:00
man/sd_login_monitor_get_fd.3 \
2013-04-05 21:24:47 +04:00
man/sd_login_monitor_get_timeout.3 \
2013-02-03 07:38:33 +04:00
man/sd_login_monitor_unref.3 \
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_login_monitor_unrefp.3 \
2015-09-04 10:54:14 +03:00
man/sd_peer_get_cgroup.3 \
2014-03-17 21:14:26 +04:00
man/sd_peer_get_machine_name.3 \
man/sd_peer_get_owner_uid.3 \
man/sd_peer_get_session.3 \
man/sd_peer_get_slice.3 \
man/sd_peer_get_unit.3 \
2015-06-23 22:22:56 +03:00
man/sd_peer_get_user_slice.3 \
2014-03-17 21:14:26 +04:00
man/sd_peer_get_user_unit.3 \
2015-09-04 10:54:14 +03:00
man/sd_pid_get_cgroup.3 \
2013-04-17 07:38:28 +04:00
man/sd_pid_get_machine_name.3 \
2013-02-03 07:38:33 +04:00
man/sd_pid_get_owner_uid.3 \
2013-07-19 20:10:12 +04:00
man/sd_pid_get_slice.3 \
2013-02-03 07:38:33 +04:00
man/sd_pid_get_unit.3 \
2015-06-23 22:22:56 +03:00
man/sd_pid_get_user_slice.3 \
2013-04-17 07:38:28 +04:00
man/sd_pid_get_user_unit.3 \
2013-11-07 20:51:09 +04:00
man/sd_seat_can_graphical.3 \
2013-02-03 07:38:33 +04:00
man/sd_seat_can_multi_session.3 \
2013-11-07 20:51:09 +04:00
man/sd_seat_can_tty.3 \
2013-02-03 07:38:33 +04:00
man/sd_seat_get_sessions.3 \
man/sd_session_get_class.3 \
2014-09-26 01:27:21 +04:00
man/sd_session_get_desktop.3 \
2013-02-03 07:38:33 +04:00
man/sd_session_get_display.3 \
2013-12-22 04:48:46 +04:00
man/sd_session_get_remote_host.3 \
man/sd_session_get_remote_user.3 \
2013-02-03 07:38:33 +04:00
man/sd_session_get_seat.3 \
man/sd_session_get_service.3 \
man/sd_session_get_state.3 \
man/sd_session_get_tty.3 \
man/sd_session_get_type.3 \
man/sd_session_get_uid.3 \
2013-09-11 20:48:20 +04:00
man/sd_session_get_vt.3 \
2013-12-22 12:47:42 +04:00
man/sd_session_is_remote.3 \
2014-05-25 02:49:45 +04:00
man/sd_uid_get_display.3 \
2013-02-03 07:38:33 +04:00
man/sd_uid_get_seats.3 \
man/sd_uid_get_sessions.3 \
man/sd_uid_is_on_seat.3 \
man/systemd-user-sessions.8
2013-04-27 02:01:32 +04:00
man/sd_get_machine_names.3: man/sd_get_seats.3
2013-02-03 07:38:33 +04:00
man/sd_get_sessions.3: man/sd_get_seats.3
man/sd_get_uids.3: man/sd_get_seats.3
man/sd_login_monitor.3: man/sd_login_monitor_new.3
man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3
2013-04-05 21:24:47 +04:00
man/sd_login_monitor_get_events.3: man/sd_login_monitor_new.3
2013-02-03 07:38:33 +04:00
man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3
2013-04-05 21:24:47 +04:00
man/sd_login_monitor_get_timeout.3: man/sd_login_monitor_new.3
2013-02-03 07:38:33 +04:00
man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_login_monitor_unrefp.3: man/sd_login_monitor_new.3
2015-09-04 10:54:14 +03:00
man/sd_peer_get_cgroup.3: man/sd_pid_get_session.3
2014-03-17 21:14:26 +04:00
man/sd_peer_get_machine_name.3: man/sd_pid_get_session.3
man/sd_peer_get_owner_uid.3: man/sd_pid_get_session.3
man/sd_peer_get_session.3: man/sd_pid_get_session.3
man/sd_peer_get_slice.3: man/sd_pid_get_session.3
man/sd_peer_get_unit.3: man/sd_pid_get_session.3
2015-06-23 22:22:56 +03:00
man/sd_peer_get_user_slice.3: man/sd_pid_get_session.3
2014-03-17 21:14:26 +04:00
man/sd_peer_get_user_unit.3: man/sd_pid_get_session.3
2015-09-04 10:54:14 +03:00
man/sd_pid_get_cgroup.3: man/sd_pid_get_session.3
2013-04-17 07:38:28 +04:00
man/sd_pid_get_machine_name.3: man/sd_pid_get_session.3
2013-02-03 07:38:33 +04:00
man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3
2013-07-19 20:10:12 +04:00
man/sd_pid_get_slice.3: man/sd_pid_get_session.3
2013-02-03 07:38:33 +04:00
man/sd_pid_get_unit.3: man/sd_pid_get_session.3
2015-06-23 22:22:56 +03:00
man/sd_pid_get_user_slice.3: man/sd_pid_get_session.3
2013-04-17 07:38:28 +04:00
man/sd_pid_get_user_unit.3: man/sd_pid_get_session.3
2013-11-07 20:51:09 +04:00
man/sd_seat_can_graphical.3: man/sd_seat_get_active.3
2013-02-03 07:38:33 +04:00
man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3
2013-11-07 20:51:09 +04:00
man/sd_seat_can_tty.3: man/sd_seat_get_active.3
2013-02-03 07:38:33 +04:00
man/sd_seat_get_sessions.3: man/sd_seat_get_active.3
man/sd_session_get_class.3: man/sd_session_is_active.3
2014-09-26 01:27:21 +04:00
man/sd_session_get_desktop.3: man/sd_session_is_active.3
2013-02-03 07:38:33 +04:00
man/sd_session_get_display.3: man/sd_session_is_active.3
2013-12-22 04:48:46 +04:00
man/sd_session_get_remote_host.3: man/sd_session_is_active.3
man/sd_session_get_remote_user.3: man/sd_session_is_active.3
2013-02-03 07:38:33 +04:00
man/sd_session_get_seat.3: man/sd_session_is_active.3
man/sd_session_get_service.3: man/sd_session_is_active.3
man/sd_session_get_state.3: man/sd_session_is_active.3
man/sd_session_get_tty.3: man/sd_session_is_active.3
man/sd_session_get_type.3: man/sd_session_is_active.3
man/sd_session_get_uid.3: man/sd_session_is_active.3
2013-09-11 20:48:20 +04:00
man/sd_session_get_vt.3: man/sd_session_is_active.3
2013-12-22 12:47:42 +04:00
man/sd_session_is_remote.3: man/sd_session_is_active.3
2014-05-25 02:49:45 +04:00
man/sd_uid_get_display.3: man/sd_uid_get_state.3
2013-02-03 07:38:33 +04:00
man/sd_uid_get_seats.3: man/sd_uid_get_state.3
man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
man/systemd-user-sessions.8: man/systemd-user-sessions.service.8
2013-04-27 02:01:32 +04:00
man/sd_get_machine_names.html: man/sd_get_seats.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_get_sessions.html: man/sd_get_seats.html
$(html-alias)
man/sd_get_uids.html: man/sd_get_seats.html
$(html-alias)
man/sd_login_monitor.html: man/sd_login_monitor_new.html
$(html-alias)
man/sd_login_monitor_flush.html: man/sd_login_monitor_new.html
$(html-alias)
2013-04-05 21:24:47 +04:00
man/sd_login_monitor_get_events.html: man/sd_login_monitor_new.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_login_monitor_get_fd.html: man/sd_login_monitor_new.html
$(html-alias)
2013-04-05 21:24:47 +04:00
man/sd_login_monitor_get_timeout.html: man/sd_login_monitor_new.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_login_monitor_unref.html: man/sd_login_monitor_new.html
$(html-alias)
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
GLIB has recently started to officially support the gcc cleanup
attribute in its public API, hence let's do the same for our APIs.
With this patch we'll define an xyz_unrefp() call for each public
xyz_unref() call, to make it easy to use inside a
__attribute__((cleanup())) expression. Then, all code is ported over to
make use of this.
The new calls are also documented in the man pages, with examples how to
use them (well, I only added docs where the _unref() call itself already
had docs, and the examples, only cover sd_bus_unrefp() and
sd_event_unrefp()).
This also renames sd_lldp_free() to sd_lldp_unref(), since that's how we
tend to call our destructors these days.
Note that this defines no public macro that wraps gcc's attribute and
makes it easier to use. While I think it's our duty in the library to
make our stuff easy to use, I figure it's not our duty to make gcc's own
features easy to use on its own. Most likely, client code which wants to
make use of this should define its own:
#define _cleanup_(function) __attribute__((cleanup(function)))
Or similar, to make the gcc feature easier to use.
Making this logic public has the benefit that we can remove three header
files whose only purpose was to define these functions internally.
See #2008.
2015-11-27 21:13:45 +03:00
man/sd_login_monitor_unrefp.html: man/sd_login_monitor_new.html
$(html-alias)
2015-09-04 10:54:14 +03:00
man/sd_peer_get_cgroup.html: man/sd_pid_get_session.html
$(html-alias)
2014-03-17 21:14:26 +04:00
man/sd_peer_get_machine_name.html: man/sd_pid_get_session.html
$(html-alias)
man/sd_peer_get_owner_uid.html: man/sd_pid_get_session.html
$(html-alias)
man/sd_peer_get_session.html: man/sd_pid_get_session.html
$(html-alias)
man/sd_peer_get_slice.html: man/sd_pid_get_session.html
$(html-alias)
man/sd_peer_get_unit.html: man/sd_pid_get_session.html
$(html-alias)
2015-06-23 22:22:56 +03:00
man/sd_peer_get_user_slice.html: man/sd_pid_get_session.html
$(html-alias)
2014-03-17 21:14:26 +04:00
man/sd_peer_get_user_unit.html: man/sd_pid_get_session.html
$(html-alias)
2015-09-04 10:54:14 +03:00
man/sd_pid_get_cgroup.html: man/sd_pid_get_session.html
$(html-alias)
2013-04-17 07:38:28 +04:00
man/sd_pid_get_machine_name.html: man/sd_pid_get_session.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_pid_get_owner_uid.html: man/sd_pid_get_session.html
$(html-alias)
2013-07-19 20:10:12 +04:00
man/sd_pid_get_slice.html: man/sd_pid_get_session.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_pid_get_unit.html: man/sd_pid_get_session.html
$(html-alias)
2015-06-23 22:22:56 +03:00
man/sd_pid_get_user_slice.html: man/sd_pid_get_session.html
$(html-alias)
2013-04-17 07:38:28 +04:00
man/sd_pid_get_user_unit.html: man/sd_pid_get_session.html
$(html-alias)
2013-11-07 20:51:09 +04:00
man/sd_seat_can_graphical.html: man/sd_seat_get_active.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_seat_can_multi_session.html: man/sd_seat_get_active.html
$(html-alias)
2013-11-07 20:51:09 +04:00
man/sd_seat_can_tty.html: man/sd_seat_get_active.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_seat_get_sessions.html: man/sd_seat_get_active.html
$(html-alias)
man/sd_session_get_class.html: man/sd_session_is_active.html
$(html-alias)
2014-09-26 01:27:21 +04:00
man/sd_session_get_desktop.html: man/sd_session_is_active.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_session_get_display.html: man/sd_session_is_active.html
$(html-alias)
2013-12-22 12:47:42 +04:00
man/sd_session_get_remote_host.html: man/sd_session_is_active.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2013-12-22 12:47:42 +04:00
man/sd_session_get_remote_user.html: man/sd_session_is_active.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2013-12-22 12:47:42 +04:00
man/sd_session_get_seat.html: man/sd_session_is_active.html
2013-03-08 20:03:50 +04:00
$(html-alias)
2013-12-22 12:47:42 +04:00
man/sd_session_get_service.html: man/sd_session_is_active.html
2013-12-22 04:48:46 +04:00
$(html-alias)
2013-12-22 12:47:42 +04:00
man/sd_session_get_state.html: man/sd_session_is_active.html
2013-12-22 04:48:46 +04:00
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_session_get_tty.html: man/sd_session_is_active.html
$(html-alias)
man/sd_session_get_type.html: man/sd_session_is_active.html
$(html-alias)
man/sd_session_get_uid.html: man/sd_session_is_active.html
$(html-alias)
2013-09-11 20:48:20 +04:00
man/sd_session_get_vt.html: man/sd_session_is_active.html
$(html-alias)
2013-12-22 12:47:42 +04:00
man/sd_session_is_remote.html: man/sd_session_is_active.html
$(html-alias)
2014-05-25 02:49:45 +04:00
man/sd_uid_get_display.html: man/sd_uid_get_state.html
$(html-alias)
2013-03-08 20:03:50 +04:00
man/sd_uid_get_seats.html: man/sd_uid_get_state.html
$(html-alias)
man/sd_uid_get_sessions.html: man/sd_uid_get_state.html
$(html-alias)
man/sd_uid_is_on_seat.html: man/sd_uid_get_state.html
$(html-alias)
man/systemd-user-sessions.html: man/systemd-user-sessions.service.html
$(html-alias)
2013-02-03 07:38:33 +04:00
endif
if HAVE_PYTHON
MANPAGES += \
man/systemd.directives.7 \
man/systemd.index.7
2013-02-03 07:47:47 +04:00
MANPAGES_ALIAS += \
#
2013-03-08 20:03:50 +04:00
2014-11-28 01:13:12 +03:00
endif
if HAVE_SYSV_COMPAT
MANPAGES += \
man/systemd-sysv-generator.8
MANPAGES_ALIAS += \
#
2013-02-03 07:38:33 +04:00
endif
2013-12-22 03:11:35 +04:00
2014-09-24 19:25:00 +04:00
if HAVE_UTMP
MANPAGES += \
man/runlevel.8 \
man/systemd-update-utmp.service.8
MANPAGES_ALIAS += \
man/systemd-update-utmp-runlevel.service.8 \
man/systemd-update-utmp.8
man/systemd-update-utmp-runlevel.service.8: man/systemd-update-utmp.service.8
man/systemd-update-utmp.8: man/systemd-update-utmp.service.8
man/systemd-update-utmp-runlevel.service.html: man/systemd-update-utmp.service.html
$(html-alias)
man/systemd-update-utmp.html: man/systemd-update-utmp.service.html
$(html-alias)
endif
2014-03-07 08:24:30 +04:00
# Really, do not edit this file.
2013-12-22 03:11:35 +04:00
EXTRA_DIST += \
2014-06-17 07:54:48 +04:00
man/binfmt.d.xml \
2013-12-22 03:11:35 +04:00
man/bootctl.xml \
man/bootup.xml \
2014-01-12 08:44:34 +04:00
man/busctl.xml \
2014-06-26 09:02:48 +04:00
man/coredump.conf.xml \
2014-06-19 15:46:01 +04:00
man/coredumpctl.xml \
2013-12-22 03:11:35 +04:00
man/crypttab.xml \
man/daemon.xml \
2016-01-05 16:20:27 +03:00
man/dnssec-trust-anchors.d.xml \
2014-06-30 21:05:17 +04:00
man/file-hierarchy.xml \
2013-12-22 03:11:35 +04:00
man/halt.xml \
man/hostname.xml \
man/hostnamectl.xml \
2014-12-16 02:48:24 +03:00
man/hwdb.xml \
2015-03-22 03:47:46 +03:00
man/journal-remote.conf.xml \
2016-10-15 23:12:46 +03:00
man/journal-upload.conf.xml \
2013-12-22 03:11:35 +04:00
man/journalctl.xml \
man/journald.conf.xml \
man/kernel-command-line.xml \
man/kernel-install.xml \
2014-02-20 01:04:30 +04:00
man/less-variables.xml \
2014-02-21 07:39:26 +04:00
man/libsystemd-pkgconfig.xml \
2015-06-17 16:11:11 +03:00
man/libudev.xml \
2013-12-22 03:11:35 +04:00
man/locale.conf.xml \
man/localectl.xml \
man/localtime.xml \
man/loginctl.xml \
man/logind.conf.xml \
man/machine-id.xml \
man/machine-info.xml \
man/machinectl.xml \
man/modules-load.d.xml \
2015-01-20 05:44:16 +03:00
man/networkctl.xml \
2016-03-10 08:58:44 +03:00
man/networkd.conf.xml \
2013-12-22 03:11:35 +04:00
man/nss-myhostname.xml \
2015-01-07 19:40:10 +03:00
man/nss-mymachines.xml \
2015-08-26 12:00:09 +03:00
man/nss-resolve.xml \
2016-07-14 20:19:49 +03:00
man/nss-systemd.xml \
2013-12-22 03:11:35 +04:00
man/os-release.xml \
man/pam_systemd.xml \
2014-05-19 00:10:48 +04:00
man/resolved.conf.xml \
2013-12-22 03:11:35 +04:00
man/runlevel.xml \
2015-06-23 20:37:28 +03:00
man/sd-bus-errors.xml \
2016-01-26 04:20:58 +03:00
man/sd-bus.xml \
2013-12-22 03:11:35 +04:00
man/sd-daemon.xml \
2015-11-20 01:38:54 +03:00
man/sd-event.xml \
2013-12-22 03:11:35 +04:00
man/sd-id128.xml \
man/sd-journal.xml \
man/sd-login.xml \
man/sd_booted.xml \
2016-06-21 18:52:32 +03:00
man/sd_bus_add_match.xml \
2014-01-04 09:08:50 +04:00
man/sd_bus_creds_get_pid.xml \
2014-01-05 04:28:52 +04:00
man/sd_bus_creds_new_from_pid.xml \
2015-04-30 02:52:39 +03:00
man/sd_bus_default.xml \
2014-01-08 06:46:36 +04:00
man/sd_bus_error.xml \
2015-06-23 20:37:28 +03:00
man/sd_bus_error_add_map.xml \
2016-06-21 18:52:32 +03:00
man/sd_bus_get_fd.xml \
2014-03-07 08:24:20 +04:00
man/sd_bus_message_append.xml \
man/sd_bus_message_append_array.xml \
man/sd_bus_message_append_basic.xml \
man/sd_bus_message_append_string_memfd.xml \
man/sd_bus_message_append_strv.xml \
2013-12-25 21:03:05 +04:00
man/sd_bus_message_get_cookie.xml \
2014-01-22 14:44:54 +04:00
man/sd_bus_message_get_monotonic_usec.xml \
2016-06-21 18:52:32 +03:00
man/sd_bus_message_read_basic.xml \
2014-03-19 00:05:16 +04:00
man/sd_bus_negotiate_fds.xml \
2014-01-04 09:08:50 +04:00
man/sd_bus_new.xml \
2014-03-11 22:03:50 +04:00
man/sd_bus_path_encode.xml \
2016-06-21 18:52:32 +03:00
man/sd_bus_process.xml \
2013-12-22 03:11:35 +04:00
man/sd_bus_request_name.xml \
2016-08-15 15:59:59 +03:00
man/sd_bus_track_add_name.xml \
man/sd_bus_track_new.xml \
2014-09-26 01:27:33 +04:00
man/sd_event_add_child.xml \
2014-09-26 01:27:40 +04:00
man/sd_event_add_defer.xml \
2015-11-20 01:38:54 +03:00
man/sd_event_add_io.xml \
2014-09-26 01:27:27 +04:00
man/sd_event_add_signal.xml \
2014-05-06 20:51:08 +04:00
man/sd_event_add_time.xml \
2015-11-20 01:38:54 +03:00
man/sd_event_exit.xml \
2014-10-03 04:49:30 +04:00
man/sd_event_get_fd.xml \
2014-04-01 21:12:59 +04:00
man/sd_event_new.xml \
2015-11-20 01:38:54 +03:00
man/sd_event_now.xml \
2015-03-14 04:35:32 +03:00
man/sd_event_run.xml \
2015-11-20 01:38:54 +03:00
man/sd_event_set_watchdog.xml \
man/sd_event_source_get_event.xml \
man/sd_event_source_get_pending.xml \
man/sd_event_source_set_description.xml \
man/sd_event_source_set_enabled.xml \
man/sd_event_source_set_prepare.xml \
man/sd_event_source_set_priority.xml \
man/sd_event_source_set_userdata.xml \
man/sd_event_source_unref.xml \
2015-03-14 04:35:32 +03:00
man/sd_event_wait.xml \
2013-12-22 03:11:35 +04:00
man/sd_get_seats.xml \
man/sd_id128_get_machine.xml \
man/sd_id128_randomize.xml \
man/sd_id128_to_string.xml \
man/sd_is_fifo.xml \
man/sd_journal_add_match.xml \
2016-01-27 20:59:29 +03:00
man/sd_journal_enumerate_fields.xml \
2013-12-22 03:11:35 +04:00
man/sd_journal_get_catalog.xml \
man/sd_journal_get_cursor.xml \
man/sd_journal_get_cutoff_realtime_usec.xml \
man/sd_journal_get_data.xml \
man/sd_journal_get_fd.xml \
man/sd_journal_get_realtime_usec.xml \
man/sd_journal_get_usage.xml \
2016-02-01 11:23:58 +03:00
man/sd_journal_has_runtime_files.xml \
2013-12-22 03:11:35 +04:00
man/sd_journal_next.xml \
man/sd_journal_open.xml \
man/sd_journal_print.xml \
man/sd_journal_query_unique.xml \
man/sd_journal_seek_head.xml \
man/sd_journal_stream_fd.xml \
man/sd_listen_fds.xml \
man/sd_login_monitor_new.xml \
2014-10-18 18:06:21 +04:00
man/sd_machine_get_class.xml \
2013-12-22 03:11:35 +04:00
man/sd_notify.xml \
man/sd_pid_get_session.xml \
man/sd_seat_get_active.xml \
man/sd_session_is_active.xml \
man/sd_uid_get_state.xml \
2013-12-23 01:14:05 +04:00
man/sd_watchdog_enabled.xml \
2013-12-22 03:11:35 +04:00
man/shutdown.xml \
2014-11-29 12:05:43 +03:00
man/standard-conf.xml \
2014-02-13 23:33:51 +04:00
man/standard-options.xml \
2013-12-22 03:11:35 +04:00
man/sysctl.d.xml \
man/systemctl.xml \
man/systemd-analyze.xml \
man/systemd-ask-password-console.service.xml \
man/systemd-ask-password.xml \
man/systemd-backlight@.service.xml \
man/systemd-binfmt.service.xml \
man/systemd-cat.xml \
man/systemd-cgls.xml \
man/systemd-cgtop.xml \
2014-07-14 04:32:46 +04:00
man/systemd-coredump.xml \
2013-12-22 03:11:35 +04:00
man/systemd-cryptsetup-generator.xml \
man/systemd-cryptsetup@.service.xml \
2014-06-19 19:06:35 +04:00
man/systemd-debug-generator.xml \
2013-12-22 03:11:35 +04:00
man/systemd-delta.xml \
man/systemd-detect-virt.xml \
2014-07-08 00:48:25 +04:00
man/systemd-escape.xml \
2014-07-07 20:45:53 +04:00
man/systemd-firstboot.xml \
2013-12-22 03:11:35 +04:00
man/systemd-fsck@.service.xml \
man/systemd-fstab-generator.xml \
man/systemd-getty-generator.xml \
man/systemd-gpt-auto-generator.xml \
man/systemd-halt.service.xml \
2014-08-27 00:17:45 +04:00
man/systemd-hibernate-resume-generator.xml \
2014-08-27 00:17:44 +04:00
man/systemd-hibernate-resume@.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-hostnamed.service.xml \
2014-12-16 02:48:24 +03:00
man/systemd-hwdb.xml \
2016-02-23 18:23:42 +03:00
man/systemd-importd.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-inhibit.xml \
man/systemd-initctl.service.xml \
man/systemd-journal-gatewayd.service.xml \
2012-11-02 02:08:03 +04:00
man/systemd-journal-remote.xml \
2014-07-10 22:50:50 +04:00
man/systemd-journal-upload.xml \
2013-12-22 03:11:35 +04:00
man/systemd-journald.service.xml \
man/systemd-localed.service.xml \
man/systemd-logind.service.xml \
2014-12-03 19:01:54 +03:00
man/systemd-machine-id-commit.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-machine-id-setup.xml \
man/systemd-machined.service.xml \
man/systemd-modules-load.service.xml \
2016-08-06 01:32:46 +03:00
man/systemd-mount.xml \
2014-05-06 20:51:08 +04:00
man/systemd-networkd-wait-online.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-networkd.service.xml \
man/systemd-notify.xml \
man/systemd-nspawn.xml \
2014-07-02 14:23:36 +04:00
man/systemd-path.xml \
2013-12-22 03:11:35 +04:00
man/systemd-quotacheck.service.xml \
man/systemd-random-seed.service.xml \
man/systemd-remount-fs.service.xml \
2016-01-21 02:04:19 +03:00
man/systemd-resolve.xml \
2014-05-19 00:10:48 +04:00
man/systemd-resolved.service.xml \
2015-10-01 15:32:48 +03:00
man/systemd-rfkill.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-run.xml \
man/systemd-sleep.conf.xml \
2016-02-12 06:11:33 +03:00
man/systemd-socket-activate.xml \
2013-12-22 03:11:35 +04:00
man/systemd-socket-proxyd.xml \
man/systemd-suspend.service.xml \
man/systemd-sysctl.service.xml \
man/systemd-system-update-generator.xml \
man/systemd-system.conf.xml \
2014-06-30 00:15:01 +04:00
man/systemd-sysusers.xml \
2014-11-28 01:13:12 +03:00
man/systemd-sysv-generator.xml \
2013-12-22 03:11:35 +04:00
man/systemd-timedated.service.xml \
2014-04-29 10:57:51 +04:00
man/systemd-timesyncd.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-tmpfiles.xml \
man/systemd-tty-ask-password-agent.xml \
man/systemd-udevd.service.xml \
2014-07-01 02:16:17 +04:00
man/systemd-update-done.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd-update-utmp.service.xml \
man/systemd-user-sessions.service.xml \
man/systemd-vconsole-setup.service.xml \
2016-12-16 14:57:44 +03:00
man/systemd-veritysetup-generator.xml \
man/systemd-veritysetup@.service.xml \
2016-12-13 14:45:19 +03:00
man/systemd-volatile-root.service.xml \
2013-12-22 03:11:35 +04:00
man/systemd.automount.xml \
man/systemd.device.xml \
man/systemd.exec.xml \
2015-02-11 07:17:59 +03:00
man/systemd.generator.xml \
2013-12-22 03:11:35 +04:00
man/systemd.journal-fields.xml \
man/systemd.kill.xml \
2014-03-07 08:24:30 +04:00
man/systemd.link.xml \
2013-12-22 03:11:35 +04:00
man/systemd.mount.xml \
2014-03-07 08:24:30 +04:00
man/systemd.netdev.xml \
man/systemd.network.xml \
2015-09-06 02:22:14 +03:00
man/systemd.nspawn.xml \
2015-07-28 15:16:11 +03:00
man/systemd.offline-updates.xml \
2013-12-22 03:11:35 +04:00
man/systemd.path.xml \
man/systemd.preset.xml \
man/systemd.resource-control.xml \
man/systemd.scope.xml \
man/systemd.service.xml \
man/systemd.slice.xml \
man/systemd.socket.xml \
man/systemd.special.xml \
man/systemd.swap.xml \
man/systemd.target.xml \
man/systemd.time.xml \
man/systemd.timer.xml \
man/systemd.unit.xml \
man/systemd.xml \
2014-06-30 00:15:01 +04:00
man/sysusers.d.xml \
2013-12-22 03:11:35 +04:00
man/telinit.xml \
man/timedatectl.xml \
2014-08-12 21:48:24 +04:00
man/timesyncd.conf.xml \
2013-12-22 03:11:35 +04:00
man/tmpfiles.d.xml \
2014-07-31 12:01:19 +04:00
man/udev.conf.xml \
2013-12-22 03:11:35 +04:00
man/udev.xml \
2015-06-17 16:11:11 +03:00
man/udev_device_get_syspath.xml \
man/udev_device_has_tag.xml \
man/udev_device_new_from_syspath.xml \
man/udev_enumerate_add_match_subsystem.xml \
man/udev_enumerate_new.xml \
man/udev_enumerate_scan_devices.xml \
man/udev_list_entry.xml \
man/udev_monitor_filter_update.xml \
man/udev_monitor_new_from_netlink.xml \
man/udev_monitor_receive_device.xml \
man/udev_new.xml \
2013-12-22 03:11:35 +04:00
man/udevadm.xml \
2014-02-13 23:40:40 +04:00
man/user-system-options.xml \
2013-12-22 03:11:35 +04:00
man/vconsole.conf.xml