From: Lennart Poettering Date: Tue, 19 May 2020 17:05:03 +0000 (+0200) Subject: man: include sd_bus_message_handler_t prototype in synopsys of all man pages that... X-Git-Tag: v246-rc1~317^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af955f917f2930957fd6fd564386aa8e541504a1;p=thirdparty%2Fsystemd.git man: include sd_bus_message_handler_t prototype in synopsys of all man pages that reference the type The type is not trivial, and kinda important to understand things, hence import it everywhere where appropriate. --- diff --git a/man/sd_bus_add_match.xml b/man/sd_bus_add_match.xml index a1065443869..071060dde69 100644 --- a/man/sd_bus_add_match.xml +++ b/man/sd_bus_add_match.xml @@ -33,7 +33,7 @@ #include <systemd/sd-bus.h> - + typedef int (*sd_bus_message_handler_t) sd_bus_message *m void *userdata diff --git a/man/sd_bus_add_object.xml b/man/sd_bus_add_object.xml index 102ee66d297..bce71bd11a1 100644 --- a/man/sd_bus_add_object.xml +++ b/man/sd_bus_add_object.xml @@ -41,12 +41,7 @@ #include <systemd/sd-bus-vtable.h> - - typedef int (*sd_bus_message_handler_t) - sd_bus_message *m - void *userdata - sd_bus_error *ret_error - + typedef int (*sd_bus_property_get_t) diff --git a/man/sd_bus_call.xml b/man/sd_bus_call.xml index 93462f24b59..b93efb2622c 100644 --- a/man/sd_bus_call.xml +++ b/man/sd_bus_call.xml @@ -27,6 +27,8 @@ #include <systemd/sd-bus.h> + + int sd_bus_call sd_bus *bus diff --git a/man/sd_bus_call_method.xml b/man/sd_bus_call_method.xml index 6348a4ce772..ac9cf143ad1 100644 --- a/man/sd_bus_call_method.xml +++ b/man/sd_bus_call_method.xml @@ -30,6 +30,8 @@ #include <systemd/sd-bus.h> + + int sd_bus_call_method sd_bus *bus diff --git a/man/sd_bus_get_current_handler.xml b/man/sd_bus_get_current_handler.xml index 07c61cd4164..0a1843a849c 100644 --- a/man/sd_bus_get_current_handler.xml +++ b/man/sd_bus_get_current_handler.xml @@ -28,6 +28,8 @@ #include <systemd/sd-bus.h> + + sd_bus_message_handler_t sd_bus_get_current_handler sd_bus *bus diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml index 7229ef517a5..f8a49c006b2 100644 --- a/man/sd_bus_request_name.xml +++ b/man/sd_bus_request_name.xml @@ -28,6 +28,8 @@ #include <systemd/sd-bus.h> + + int sd_bus_request_name sd_bus *bus diff --git a/man/sd_bus_slot_get_bus.xml b/man/sd_bus_slot_get_bus.xml index ed3e55b0574..26541a9d97b 100644 --- a/man/sd_bus_slot_get_bus.xml +++ b/man/sd_bus_slot_get_bus.xml @@ -27,6 +27,8 @@ #include <systemd/sd-bus.h> + + sd_bus *sd_bus_slot_get_bus sd_bus_slot *slot