]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add sd_bus_track_handler_t signature to manpage (#39204)
authorjsks <js.shirin@gmail.com>
Sun, 5 Oct 2025 10:00:22 +0000 (12:00 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 08:04:47 +0000 (10:04 +0200)
This is consistent with how the other handler/callback types are
documented.

(cherry picked from commit fc890aedd3176e2c7fe465b268218aca30b006cd)
(cherry picked from commit c69ecfc6d3229bdedbf15aba99f21f32ef596700)

man/sd_bus_track_new.xml

index e8480eb52e71aadc1e6965514f5841181dc34dcb..55c541924565f7386b9674117d59b60057605b5a 100644 (file)
     <funcsynopsis>
       <funcsynopsisinfo>#include &lt;systemd/sd-bus.h&gt;</funcsynopsisinfo>
 
+      <funcprototype>
+        <funcdef>typedef int (*<function>sd_bus_track_handler_t</function>)</funcdef>
+        <paramdef>sd_bus_track *<parameter>track</parameter></paramdef>
+        <paramdef>void *<parameter>userdata</parameter></paramdef>
+      </funcprototype>
+
       <funcprototype>
         <funcdef>int <function>sd_bus_track_new</function></funcdef>
         <paramdef>sd_bus* <parameter>bus</parameter></paramdef>
   <refsect1>
     <title>History</title>
     <para><function>sd_bus_track_new()</function>,
+    <function>sd_bus_track_handler_t()</function>,
     <function>sd_bus_track_ref()</function>,
     <function>sd_bus_track_unref()</function>,
     <function>sd_bus_track_unrefp()</function>,