diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-06 11:59:04 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-06 23:01:25 +0200 |
commit | 7d6b27238f5047657c8ebd4314d504e68217c6bc (patch) | |
tree | 89c67869312eb72a52e3f317c0b43b97487c8484 /man | |
parent | 81f6d448ef3cfb6331a68eb51dd6e63845a2bb51 (diff) | |
download | systemd-7d6b27238f5047657c8ebd4314d504e68217c6bc.tar.gz |
man: xinclude the generic text to talk about libsystemd pkgconfig
The only difference is that functions are not individually listed by name,
but that seems completely pointless, since all functions that are documented
are always exported, so the generic text tells the user all she or he needs
to know.
Diffstat (limited to 'man')
41 files changed, 87 insertions, 424 deletions
diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index c1af00ee0f..f3d198df38 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> -<refentry id="sd_bus_creds_get_pid"> +<refentry id="sd_bus_creds_get_pid" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_creds_get_pid</title> @@ -529,16 +529,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_creds_get_pid()</function> and the other - functions described here are available as a shared library, which - can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_creds_new_from_pid.xml b/man/sd_bus_creds_new_from_pid.xml index ed26f4418b..a4edb1fd6a 100644 --- a/man/sd_bus_creds_new_from_pid.xml +++ b/man/sd_bus_creds_new_from_pid.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> -<refentry id="sd_bus_creds_new_from_pid"> +<refentry id="sd_bus_creds_new_from_pid" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_creds_new_from_pid</title> @@ -315,16 +315,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_creds_new_from_pid()</function> and the - other calls described here are available as a shared library, - which can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_default.xml b/man/sd_bus_default.xml index da06fb9cbf..78b836bfef 100644 --- a/man/sd_bus_default.xml +++ b/man/sd_bus_default.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> -<refentry id="sd_bus_default"> +<refentry id="sd_bus_default" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_default</title> @@ -281,16 +281,7 @@ by returned. See <citerefentry><refentrytitle>sd_bus_send</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_open_user()</function> and the other - functions described here are available as a shared library, which - can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index 6ca0e8af64..1552405ac4 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> -<refentry id="sd_bus_error"> +<refentry id="sd_bus_error" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_error</title> @@ -352,15 +352,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_set_error()</function> and other functions - described here are available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_append.xml b/man/sd_bus_message_append.xml index 29a12c4b47..dcabfeaec4 100644 --- a/man/sd_bus_message_append.xml +++ b/man/sd_bus_message_append.xml @@ -251,15 +251,7 @@ sd_bus_message_append(m, "ynqiuxtd", y, n, q, i, u, x, t, d);</programlisting> <xi:include href="sd_bus_message_append_basic.xml" xpointer="errors" /> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_open_user()</function> and other functions - described here are available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd-bus</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_append_array.xml b/man/sd_bus_message_append_array.xml index a601ba51d0..76e342f716 100644 --- a/man/sd_bus_message_append_array.xml +++ b/man/sd_bus_message_append_array.xml @@ -176,15 +176,7 @@ <xi:include href="sd_bus_message_append_basic.xml" xpointer="errors" /> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_append_array()</function> and other - functions described here are available as a shared library, which - can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_append_basic.xml b/man/sd_bus_message_append_basic.xml index 7e1794dfff..9b1ac34169 100644 --- a/man/sd_bus_message_append_basic.xml +++ b/man/sd_bus_message_append_basic.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> -<refentry id="sd_bus_message_append_basic"> +<refentry id="sd_bus_message_append_basic" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_message_append_basic</title> @@ -260,15 +260,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_bus_append_basic()</function> function - described here is available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_append_string_memfd.xml b/man/sd_bus_message_append_string_memfd.xml index 144a9c2dcb..4616bba71a 100644 --- a/man/sd_bus_message_append_string_memfd.xml +++ b/man/sd_bus_message_append_string_memfd.xml @@ -119,14 +119,7 @@ <xi:include href="sd_bus_message_append_basic.xml" xpointer="errors" /> - <refsect1> - <title>Notes</title> - - <para>The functions described here are available as a shared library, - which can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_append_strv.xml b/man/sd_bus_message_append_strv.xml index 5ac4ed3423..eb13e63d35 100644 --- a/man/sd_bus_message_append_strv.xml +++ b/man/sd_bus_message_append_strv.xml @@ -80,15 +80,7 @@ <xi:include href="sd_bus_message_append_basic.xml" xpointer="errors" /> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_bus_append_append_strv()</function> function - described here is available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_get_cookie.xml b/man/sd_bus_message_get_cookie.xml index 1b64240766..5bc0d13ed7 100644 --- a/man/sd_bus_message_get_cookie.xml +++ b/man/sd_bus_message_get_cookie.xml @@ -10,7 +10,8 @@ Copyright 2013 Lennart Poettering --> -<refentry id="sd_bus_message_get_cookie"> +<refentry id="sd_bus_message_get_cookie" + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_message_get_cookie</title> @@ -111,16 +112,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_bus_message_get_cookie()</function> and - <function>sd_bus_message_get_reply_cookie()</function> interfaces - are available as a shared library, which can be compiled and - linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_get_monotonic_usec.xml b/man/sd_bus_message_get_monotonic_usec.xml index b00dcf5e20..f3f66cb2bd 100644 --- a/man/sd_bus_message_get_monotonic_usec.xml +++ b/man/sd_bus_message_get_monotonic_usec.xml @@ -10,7 +10,8 @@ Copyright 2013 Lennart Poettering --> -<refentry id="sd_bus_message_get_monotonic_usec"> +<refentry id="sd_bus_message_get_monotonic_usec" + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_message_get_monotonic_usec</title> @@ -141,18 +142,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The - <function>sd_bus_message_get_monotonic_usec()</function>, - <function>sd_bus_message_get_realtime_usec()</function>, and - <function>sd_bus_message_get_seqnum()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_message_set_destination.xml b/man/sd_bus_message_set_destination.xml index 0bae24b7ea..c255cfe9b5 100644 --- a/man/sd_bus_message_set_destination.xml +++ b/man/sd_bus_message_set_destination.xml @@ -9,7 +9,7 @@ Copyright 2017 Lennart Poettering --> -<refentry id="sd_bus_message_set_destination"> +<refentry id="sd_bus_message_set_destination" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_message_set_destination</title> @@ -99,16 +99,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_bus_message_set_destination()</function> and - <function>sd_bus_message_set_sender()</function> interfaces - are available as a shared library, which can be compiled and - linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_negotiate_fds.xml b/man/sd_bus_negotiate_fds.xml index eae879047f..44865f352c 100644 --- a/man/sd_bus_negotiate_fds.xml +++ b/man/sd_bus_negotiate_fds.xml @@ -10,7 +10,7 @@ Copyright 2014 Lennart Poettering --> -<refentry id="sd_bus_negotiate_fds"> +<refentry id="sd_bus_negotiate_fds" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_negotiate_fds</title> @@ -140,15 +140,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_negotiate_fds()</function> and the other - functions described here are available as a shared library, which - can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_new.xml b/man/sd_bus_new.xml index dfbdd4a06f..4b6905df99 100644 --- a/man/sd_bus_new.xml +++ b/man/sd_bus_new.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> -<refentry id="sd_bus_new"> +<refentry id="sd_bus_new" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_new</title> @@ -152,15 +152,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_new()</function> and other functions - described here are available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_slot_set_floating.xml b/man/sd_bus_slot_set_floating.xml index 2ac5090193..9cb4b8a441 100644 --- a/man/sd_bus_slot_set_floating.xml +++ b/man/sd_bus_slot_set_floating.xml @@ -4,7 +4,7 @@ <!-- SPDX-License-Identifier: LGPL-2.1+ --> -<refentry id="sd_bus_slot_set_floating"> +<refentry id="sd_bus_slot_set_floating" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_slot_set_floating</title> @@ -96,14 +96,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_slot_set_floating()</function> and <function>sd_bus_slot_get_floating()</function> are - available as a shared library, which can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_track_add_name.xml b/man/sd_bus_track_add_name.xml index 3705515aa9..212fa87351 100644 --- a/man/sd_bus_track_add_name.xml +++ b/man/sd_bus_track_add_name.xml @@ -10,7 +10,7 @@ Copyright 2016 Lennart Poettering --> -<refentry id="sd_bus_track_add_name"> +<refentry id="sd_bus_track_add_name" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_track_add_name</title> @@ -229,13 +229,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_track_add_name()</function> and the other calls described here are available as a shared library, - which can be compiled and linked to with the <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_bus_track_new.xml b/man/sd_bus_track_new.xml index c863962471..8cdecbfe60 100644 --- a/man/sd_bus_track_new.xml +++ b/man/sd_bus_track_new.xml @@ -10,7 +10,7 @@ Copyright 2016 Lennart Poettering --> -<refentry id="sd_bus_track_new"> +<refentry id="sd_bus_track_new" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_bus_track_new</title> @@ -231,13 +231,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para><function>sd_bus_track_new()</function> and the other calls described here are available as a shared library, - which can be compiled and linked to with the <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index 63659f8cd1..f522f75d99 100644 --- a/man/sd_get_seats.xml +++ b/man/sd_get_seats.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> -<refentry id="sd_get_seats" conditional='HAVE_PAM'> +<refentry id="sd_get_seats" conditional='HAVE_PAM' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_get_seats</title> @@ -121,18 +122,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_get_seats()</function>, - <function>sd_get_sessions()</function>, - <function>sd_get_uids()</function> and - <function>sd_get_machine_names()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml index 827756d135..77268da38b 100644 --- a/man/sd_id128_get_machine.xml +++ b/man/sd_id128_get_machine.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_id128_get_machine"> +<refentry id="sd_id128_get_machine" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_id128_get_machine</title> @@ -123,15 +123,7 @@ empty or all zeros.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_id128_get_machine()</function>, <function>sd_id128_get_machine_app_specific()</function> - <function>sd_id128_get_boot()</function> and <function>sd_id128_get_invocation()</function> interfaces are - available as a shared library, which can be compiled and linked to with the - <literal>libsystemd</literal> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>Examples</title> diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml index beefc270c0..f9c72780fe 100644 --- a/man/sd_id128_randomize.xml +++ b/man/sd_id128_randomize.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_id128_randomize"> +<refentry id="sd_id128_randomize" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_id128_randomize</title> @@ -78,15 +78,7 @@ errno-style error code.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_id128_randomize()</function> interface is - available as a shared library, which can be compiled and linked to - with the - <literal>libsystemd</literal> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_id128_to_string.xml b/man/sd_id128_to_string.xml index c25cd5da36..f4a2097240 100644 --- a/man/sd_id128_to_string.xml +++ b/man/sd_id128_to_string.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_id128_to_string"> +<refentry id="sd_id128_to_string" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_id128_to_string</title> @@ -95,16 +95,7 @@ errno-style error code.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_id128_to_string()</function> and - <function>sd_id128_from_string()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <literal>libsystemd</literal> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_journal_add_match.xml b/man/sd_journal_add_match.xml index 01fd68add8..d50afec558 100644 --- a/man/sd_journal_add_match.xml +++ b/man/sd_journal_add_match.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_add_match"> +<refentry id="sd_journal_add_match" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_add_match</title> @@ -154,21 +154,7 @@ returns nothing.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>All functions listed here are thread-agnostic and only a single thread may operate - on a given <structname>sd_journal</structname> object.</para> - - <para>The <function>sd_journal_add_match()</function>, - <function>sd_journal_add_disjunction()</function>, - <function>sd_journal_add_conjunction()</function> and - <function>sd_journal_flush_matches()</function> - interfaces are available as a shared library, which can - be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>Examples</title> @@ -189,7 +175,6 @@ int add_matches(sd_journal *j) { sd_journal_add_disjunction(j); sd_journal_add_match(j, "MESSAGE_ID=03bb1dab98ab4ecfbf6fff2738bdd964", 0); }</programlisting> - </refsect1> <refsect1> diff --git a/man/sd_journal_enumerate_fields.xml b/man/sd_journal_enumerate_fields.xml index fdaaccef93..db39f9bfb5 100644 --- a/man/sd_journal_enumerate_fields.xml +++ b/man/sd_journal_enumerate_fields.xml @@ -10,7 +10,7 @@ Copyright 2016 Lennart Poettering --> -<refentry id="sd_journal_enumerate_fields"> +<refentry id="sd_journal_enumerate_fields" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_enumerate_fields</title> @@ -102,10 +102,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The <function>sd_journal_enumerate_fields()</function> and <function>sd_journal_restart_fields()</function> - interfaces are available as a shared library, which can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_get_catalog.xml b/man/sd_journal_get_catalog.xml index 85aa189d4f..b095f0cd60 100644 --- a/man/sd_journal_get_catalog.xml +++ b/man/sd_journal_get_catalog.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_get_catalog"> +<refentry id="sd_journal_get_catalog" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_get_catalog</title> @@ -104,12 +104,7 @@ single thread may operate on a given <structname>sd_journal</structname> object. Function <function>sd_journal_get_catalog_for_message_id()</function> is thread-safe.</para> - <para>The <function>sd_journal_get_catalog()</function> and - <function>sd_journal_get_catalog_for_message_id()</function> - interfaces are available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_get_cursor.xml b/man/sd_journal_get_cursor.xml index 0e8244420d..0267609442 100644 --- a/man/sd_journal_get_cursor.xml +++ b/man/sd_journal_get_cursor.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_get_cursor"> +<refentry id="sd_journal_get_cursor" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_get_cursor</title> @@ -114,12 +114,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The <function>sd_journal_get_cursor()</function> and - <function>sd_journal_test_cursor()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_get_cutoff_realtime_usec.xml b/man/sd_journal_get_cutoff_realtime_usec.xml index 7f9b863a21..bda21ae35f 100644 --- a/man/sd_journal_get_cutoff_realtime_usec.xml +++ b/man/sd_journal_get_cutoff_realtime_usec.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_get_cutoff_realtime_usec"> +<refentry id="sd_journal_get_cutoff_realtime_usec" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_get_cutoff_realtime_usec</title> @@ -112,13 +112,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The - <function>sd_journal_get_cutoff_realtime_usec()</function> and - <function>sd_journal_get_cutoff_monotonic_usec()</function> - interfaces are available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml index 9d2278f4da..505a8bddd4 100644 --- a/man/sd_journal_get_data.xml +++ b/man/sd_journal_get_data.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_get_data"> +<refentry id="sd_journal_get_data" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_get_data</title> @@ -169,19 +169,7 @@ success or a negative errno-style error code.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_journal_get_data()</function>, - <function>sd_journal_enumerate_data()</function>, - <function>sd_journal_restart_data()</function>, - <function>sd_journal_set_data_threshold()</function> and - <function>sd_journal_get_data_threshold()</function> interfaces - are available as a shared library, which can be compiled and - linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>Examples</title> @@ -204,7 +192,6 @@ int print_fields(sd_journal *j) { printf("%.*s\n", (int) length, data); } …</programlisting> - </refsect1> <refsect1> diff --git a/man/sd_journal_get_realtime_usec.xml b/man/sd_journal_get_realtime_usec.xml index 49528357c6..9ef719a67e 100644 --- a/man/sd_journal_get_realtime_usec.xml +++ b/man/sd_journal_get_realtime_usec.xml @@ -10,7 +10,8 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_get_realtime_usec"> +<refentry id="sd_journal_get_realtime_usec" + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_get_realtime_usec</title> @@ -101,16 +102,7 @@ <function>sd_journal_get_monotonic_usec()</function>.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_journal_get_realtime_usec()</function> and - <function>sd_journal_get_monotonic_usec()</function> interfaces - are available as a shared library, which can be compiled and - linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_journal_get_usage.xml b/man/sd_journal_get_usage.xml index fdd7b05a7d..d8eaff1255 100644 --- a/man/sd_journal_get_usage.xml +++ b/man/sd_journal_get_usage.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_get_usage"> +<refentry id="sd_journal_get_usage" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_get_usage</title> @@ -72,11 +72,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The <function>sd_journal_get_usage()</function> interface is - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_has_runtime_files.xml b/man/sd_journal_has_runtime_files.xml index d9a1e2c3d0..295bc0cc63 100644 --- a/man/sd_journal_has_runtime_files.xml +++ b/man/sd_journal_has_runtime_files.xml @@ -10,7 +10,7 @@ Copyright 2016 Jan Synáček --> -<refentry id="sd_journal_has_runtime_files"> +<refentry id="sd_journal_has_runtime_files" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_has_runtime_files</title> @@ -80,10 +80,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>Functions listed here are available as a shared library, which can be compiled and linked - to with the <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_next.xml b/man/sd_journal_next.xml index c90ac80ba9..9385315e2e 100644 --- a/man/sd_journal_next.xml +++ b/man/sd_journal_next.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_next"> +<refentry id="sd_journal_next" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_next</title> @@ -138,14 +138,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The <function>sd_journal_next()</function>, - <function>sd_journal_previous()</function>, - <function>sd_journal_next_skip()</function> and - <function>sd_journal_previous_skip()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml index e30bbf9b4d..4c7221e557 100644 --- a/man/sd_journal_print.xml +++ b/man/sd_journal_print.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_print"> +<refentry id="sd_journal_print" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_print</title> @@ -203,15 +203,7 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( not async signal safe.</para> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_journal_print()</function>, <function>sd_journal_printv()</function>, - <function>sd_journal_send()</function>, <function>sd_journal_sendv()</function> and - <function>sd_journal_perror()</function> interfaces are available as a shared library, which can be compiled and - linked to with the <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index d4f55ae475..56480b5718 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_query_unique"> +<refentry id="sd_journal_query_unique" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_query_unique</title> @@ -142,13 +142,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The <function>sd_journal_query_unique()</function>, - <function>sd_journal_enumerate_unique()</function> and - <function>sd_journal_restart_unique()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_seek_head.xml b/man/sd_journal_seek_head.xml index a250e74289..7dc9bb439e 100644 --- a/man/sd_journal_seek_head.xml +++ b/man/sd_journal_seek_head.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_seek_head"> +<refentry id="sd_journal_seek_head" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_seek_head</title> @@ -136,15 +136,7 @@ <para>All functions listed here are thread-agnostic and only a single thread may operate on a given <structname>sd_journal</structname> object.</para> - <para>The <function>sd_journal_seek_head()</function>, - <function>sd_journal_seek_tail()</function>, - <function>sd_journal_seek_monotonic_usec()</function>, - <function>sd_journal_seek_realtime_usec()</function>, - and <function>sd_journal_seek_cursor()</function> - interfaces are available as a shared library, which can - be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml index 12bf937944..047991381a 100644 --- a/man/sd_journal_stream_fd.xml +++ b/man/sd_journal_stream_fd.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> -<refentry id="sd_journal_stream_fd"> +<refentry id="sd_journal_stream_fd" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_journal_stream_fd</title> @@ -108,11 +108,7 @@ <para>Function <function>sd_journal_stream_fd()</function> is thread-safe and may be called from multiple threads.</para> - <para>The <function>sd_journal_stream_fd()</function> interface is - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> </refsect1> <refsect1> diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index f27c4f8bff..f26d88bc8b 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> -<refentry id="sd_login_monitor_new" conditional='HAVE_PAM'> +<refentry id="sd_login_monitor_new" conditional='HAVE_PAM' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_login_monitor_new</title> @@ -246,20 +247,7 @@ else { </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_login_monitor_new()</function>, - <function>sd_login_monitor_unref()</function>, - <function>sd_login_monitor_flush()</function>, - <function>sd_login_monitor_get_fd()</function>, - <function>sd_login_monitor_get_events()</function> and - <function>sd_login_monitor_get_timeout()</function> - interfaces are available as a shared library, which can be - compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_machine_get_class.xml b/man/sd_machine_get_class.xml index 9c3baf46ed..f48ddf4f0b 100644 --- a/man/sd_machine_get_class.xml +++ b/man/sd_machine_get_class.xml @@ -10,7 +10,7 @@ Copyright 2014 Lennart Poettering --> -<refentry id="sd_machine_get_class"> +<refentry id="sd_machine_get_class" xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_machine_get_class</title> @@ -116,16 +116,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_machine_get_class()</function> and - <function>sd_machine_get_ifindices()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_pid_get_owner_uid.xml b/man/sd_pid_get_owner_uid.xml index a0b906d142..28800b43a4 100644 --- a/man/sd_pid_get_owner_uid.xml +++ b/man/sd_pid_get_owner_uid.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> -<refentry id="sd_pid_get_owner_uid" conditional='HAVE_PAM'> +<refentry id="sd_pid_get_owner_uid" conditional='HAVE_PAM' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_pid_get_owner_uid</title> @@ -308,24 +309,7 @@ <refsect1> <title>Notes</title> - <para>The <function>sd_pid_get_session()</function>, - <function>sd_pid_get_unit()</function>, - <function>sd_pid_get_user_unit()</function>, - <function>sd_pid_get_owner_uid()</function>, - <function>sd_pid_get_machine_name()</function>, - <function>sd_pid_get_slice()</function>, - <function>sd_pid_get_user_slice()</function>, - <function>sd_peer_get_session()</function>, - <function>sd_peer_get_unit()</function>, - <function>sd_peer_get_user_unit()</function>, - <function>sd_peer_get_owner_uid()</function>, - <function>sd_peer_get_machine_name()</function>, - <function>sd_peer_get_slice()</function> and - <function>sd_peer_get_user_slice()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the <constant>libsystemd</constant> <citerefentry - project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> + <xi:include href="libsystemd-pkgconfig.xml" xpointer="pkgconfig-text"/> <para>Note that the login session identifier as returned by <function>sd_pid_get_session()</function> diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 32a67706d8..98ff2be151 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> -<refentry id="sd_seat_get_active" conditional='HAVE_PAM'> +<refentry id="sd_seat_get_active" conditional='HAVE_PAM' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_seat_get_active</title> @@ -175,19 +176,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_seat_get_active()</function>, - <function>sd_seat_get_sessions()</function>, - <function>sd_seat_can_multi_session()</function>, - <function>sd_seat_can_tty()</function> and - <function>sd_seat_can_graphical()</function> interfaces are - available as a shared library, which can be compiled and linked to - with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index d5af6c12ef..b3009dedc6 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> -<refentry id="sd_session_is_active" conditional='HAVE_PAM'> +<refentry id="sd_session_is_active" conditional='HAVE_PAM' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_session_is_active</title> @@ -316,25 +317,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>The <function>sd_session_is_active()</function>, - <function>sd_session_get_state()</function>, - <function>sd_session_get_uid()</function>, - <function>sd_session_get_seat()</function>, - <function>sd_session_get_service()</function>, - <function>sd_session_get_type()</function>, - <function>sd_session_get_class()</function>, - <function>sd_session_get_display()</function>, - <function>sd_session_get_remote_host()</function>, - <function>sd_session_get_remote_user()</function> and - <function>sd_session_get_tty()</function> - interfaces are available as a shared library, which can - be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - file.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index 925696bd56..317e46a072 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> -<refentry id="sd_uid_get_state" conditional='HAVE_PAM'> +<refentry id="sd_uid_get_state" conditional='HAVE_PAM' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>sd_uid_get_state</title> @@ -197,14 +198,7 @@ </variablelist> </refsect1> - <refsect1> - <title>Notes</title> - - <para>Functions described here are available as a shared library, - and can be compiled and linked to using the - <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> - entry.</para> - </refsect1> + <xi:include href="libsystemd-pkgconfig.xml" /> <refsect1> <title>See Also</title> |