diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-09-22 21:13:41 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-22 21:16:52 +0200 |
commit | 71e6c1cf47c35cc5a58cefaabe4f6848d6f09501 (patch) | |
tree | a45323ff6aa1a6263ba41a16473c553376cbb383 /man/sd-daemon.xml | |
parent | 5375410bb2ed11a6a9e37063c0a551a7bf75338f (diff) |
man: document that sd-daemon.[ch] is now available as shared library
Diffstat (limited to 'man/sd-daemon.xml')
-rw-r--r-- | man/sd-daemon.xml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml index cbfe28f842..3f428f4022 100644 --- a/man/sd-daemon.xml +++ b/man/sd-daemon.xml @@ -129,17 +129,20 @@ resp. <ulink url="http://cgit.freedesktop.org/systemd/tree/src/sd-daemon.h"/></para> <para>These APIs are implemented in the reference - implementation's drop-in - <filename>sd-daemon.c</filename> and - <filename>sd-daemon.h</filename> files. It is - recommended that applications consuming these APIs copy - the implementation into their source tree, either - verbatim or in excerpts. These interfaces are - currently not available in a dynamic library.</para> + implementation's <filename>sd-daemon.c</filename> and + <filename>sd-daemon.h</filename> files. These + interfaces are available as shared library, which can + be compiled and linked to with the + <literal>libsystemd-daemon</literal> + <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> + file. Alternatively, applications consuming these APIs + may copy the implementation into their source tree, + either verbatim or in excerpts.</para> <para>The functions directly related to new-style daemons become NOPs when -DDISABLE_SYSTEMD is set - during compilation. In addition, if + during compilation and the reference implementation is + used as drop-in files. In addition, if <filename>sd-daemon.c</filename> is compiled on non-Linux systems they become NOPs.</para> </refsect1> |