From 357e04c35b53f7e9ef10adb15afb7d525e737eb0 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Fri, 22 Sep 2017 14:27:48 +0200 Subject: [PATCH] Prep v232.6: Make all supportable API functions visible (v232 addition). --- .gitignore | 1 + man/sd_bus_add_match.xml | 57 ++++++++++++++----------------- man/sd_bus_get_fd.xml | 14 ++++---- man/sd_bus_message_read_basic.xml | 14 ++++---- man/sd_bus_process.xml | 14 ++++---- man/sd_bus_track_add_name.xml | 14 ++++---- man/sd_bus_track_new.xml | 14 ++++---- 7 files changed, 61 insertions(+), 67 deletions(-) diff --git a/.gitignore b/.gitignore index 7508a427c..792cf2674 100644 --- a/.gitignore +++ b/.gitignore @@ -333,6 +333,7 @@ stamp-* # Local Helper Scripts and Tools - Not for distribution patches/ +patches_port/ /check_*.* /cleanup*.sh /elogind.* diff --git a/man/sd_bus_add_match.xml b/man/sd_bus_add_match.xml index 2014141ae..cac662f8d 100644 --- a/man/sd_bus_add_match.xml +++ b/man/sd_bus_add_match.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_bus_add_match - systemd + elogind @@ -49,7 +49,7 @@ - #include <systemd/sd-bus.h> + #include <elogind/sd-bus.h> int sd_bus_add_match @@ -73,34 +73,26 @@ Description - sd_bus_add_match() installs a match rule for incoming messages received on the specified bus - connection object bus. The syntax of the match rule expression passed in - match is described in the D-Bus Specification. The specified handler - function callback is called for eaching incoming message matching the specified - expression, the userdata parameter is passed as-is to the callback function. + sd_bus_add_match() adds a match rule used to dispatch + incoming messages. The syntax of the rule passed in + match is described in the + D-Bus Specification. - On success, and if non-NULL, the slot return parameter will be set to - a slot object that may be used as a reference to the installed match, and may be utilized to remove it again at a - later time with - sd_bus_slot_unref3. If - specified as NULL the lifetime of the match is bound to the lifetime of the bus object itself, and the match - cannot be removed independently. + The message m passed to the callback is only + borrowed, that is, the callback should not call + sd_bus_message_unref3 + on it. If the callback wants to hold on to the message beyond the lifetime + of the callback, it needs to call + sd_bus_message_ref3 + to create a new reference. - The message m passed to the callback is only borrowed, that is, the callback should not - call sd_bus_message_unref3 on - it. If the callback wants to hold on to the message beyond the lifetime of the callback, it needs to call - sd_bus_message_ref3 to create - a new reference. - - - - If an error occurs during the callback invocation, the callback should return a negative error number. If it - wants other callbacks that match the same rule to be called, it should return 0. Otherwise it should return a + If an error occurs during the callback invocation, the callback should + return a negative error number. If it wants other callbacks that match the + same rule to be called, it should return 0. Otherwise it should return a positive integer. @@ -109,8 +101,9 @@ Return Value - On success, sd_bus_add_match() returns 0 or a positive integer. On failure, it returns a - negative errno-style error code. + On success, sd_bus_add_match() returns 0 or a + positive integer. On failure, it returns a negative errno-style error + code. @@ -118,8 +111,8 @@ See Also - systemd1, - sd-bus3 + elogind8, + sd-bus3, diff --git a/man/sd_bus_get_fd.xml b/man/sd_bus_get_fd.xml index 9f7019069..7617eaff2 100644 --- a/man/sd_bus_get_fd.xml +++ b/man/sd_bus_get_fd.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_bus_get_fd - systemd + elogind @@ -49,7 +49,7 @@ - #include <systemd/sd-bus.h> + #include <elogind/sd-bus.h> int sd_bus_get_fd @@ -92,7 +92,7 @@ See Also - systemd1, + elogind8, sd-bus3, sd_bus_set_fd3, diff --git a/man/sd_bus_message_read_basic.xml b/man/sd_bus_message_read_basic.xml index 6a4640315..bc5de5299 100644 --- a/man/sd_bus_message_read_basic.xml +++ b/man/sd_bus_message_read_basic.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_bus_message_read_basic - systemd + elogind @@ -49,7 +49,7 @@ - #include <systemd/sd-bus.h> + #include <elogind/sd-bus.h> int sd_bus_message_read_basic @@ -105,7 +105,7 @@ See Also - systemd1, + elogind8, sd-bus3, diff --git a/man/sd_bus_process.xml b/man/sd_bus_process.xml index 4b9f52e52..2b7b47766 100644 --- a/man/sd_bus_process.xml +++ b/man/sd_bus_process.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_bus_process - systemd + elogind @@ -49,7 +49,7 @@ - #include <systemd/sd-bus.h> + #include <elogind/sd-bus.h> int sd_bus_process @@ -103,7 +103,7 @@ See Also - systemd1, + elogind8, sd-bus3, diff --git a/man/sd_bus_track_add_name.xml b/man/sd_bus_track_add_name.xml index e15db4459..8496ee881 100644 --- a/man/sd_bus_track_add_name.xml +++ b/man/sd_bus_track_add_name.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_bus_track_add_name - systemd + elogind @@ -59,7 +59,7 @@ - #include <systemd/sd-bus.h> + #include <elogind/sd-bus.h> int sd_bus_track_add_name @@ -252,7 +252,7 @@ See Also - systemd1, + elogind8, sd-bus3, sd_bus_track_new3 diff --git a/man/sd_bus_track_new.xml b/man/sd_bus_track_new.xml index 4917f2e37..e8a252125 100644 --- a/man/sd_bus_track_new.xml +++ b/man/sd_bus_track_new.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_bus_track_new - systemd + elogind @@ -58,7 +58,7 @@ - #include <systemd/sd-bus.h> + #include <elogind/sd-bus.h> int sd_bus_track_new @@ -254,7 +254,7 @@ See Also - systemd1, + elogind8, sd-bus3 sd_bus_track_add_name3 -- 2.30.2