X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd-daemon.xml;h=31115a5d69da57694a306aed7321af73cf1b0e23;hp=e3ac68eed313f62fc03815c55db2d3aeb0da60a1;hb=5430f7f2bc7330f3088b894166bf3524a067e3d8;hpb=f3e219a238c716ffa06fab7b0618197c090dfd5a diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml index e3ac68eed..31115a5d6 100644 --- a/man/sd-daemon.xml +++ b/man/sd-daemon.xml @@ -8,16 +8,16 @@ Copyright 2010 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> @@ -50,8 +50,13 @@ - #include "sd-daemon.h" + #include <systemd/sd-daemon.h> + + + pkg-config --cflags --libs libsystemd-daemon + + @@ -125,21 +130,24 @@ In addition, for details about the algorithms check the liberally licensed reference implementation sources: - - resp. + + resp. These APIs are implemented in the reference - implementation's drop-in - sd-daemon.c and - sd-daemon.h 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. + implementation's sd-daemon.c and + sd-daemon.h files. These + interfaces are available as shared library, which can + be compiled and linked to with the + libsystemd-daemon + pkg-config1 + file. Alternatively, applications consuming these APIs + may copy the implementation into their source tree, + either verbatim or in excerpts. 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 sd-daemon.c is compiled on non-Linux systems they become NOPs. @@ -155,7 +163,9 @@ daemon7, systemd.service5, systemd.socket5, - fprintf3 + fprintf3, + sd-readahead7, + pkg-config1