]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/libsystemd.xml
update TODO
[thirdparty/systemd.git] / man / libsystemd.xml
CommitLineData
4bc96dc1
ZJS
1<?xml version='1.0'?> <!--*-nxml-*-->
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
eea10b26 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
4bc96dc1
ZJS
4<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
5
6<refentry id="libsystemd"
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8
9 <refentryinfo>
10 <title>libsystemd</title>
11 <productname>systemd</productname>
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>libsystemd</refentrytitle>
16 <manvolnum>3</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>libsystemd</refname>
21 <refpurpose>Functions for implementing services and interacting with systemd</refpurpose>
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <programlisting>
26#include &lt;systemd/sd-bus.h&gt;
27#include &lt;systemd/sd-bus-vtable.h&gt;
28#include &lt;systemd/sd-bus-protocol.h&gt;
29#include &lt;systemd/sd-daemon.h&gt;
30#include &lt;systemd/sd-device.h&gt;
31#include &lt;systemd/sd-event.h&gt;
32#include &lt;systemd/sd-gpt.h&gt;
33#include &lt;systemd/sd-hwdb.h&gt;
34#include &lt;systemd/sd-id128.h&gt;
35#include &lt;systemd/sd-journal.h&gt;
36#include &lt;systemd/sd-login.h&gt;
37#include &lt;systemd/sd-messages.h&gt;
38#include &lt;systemd/sd-path.h&gt;
39 </programlisting>
40
41 <cmdsynopsis>
42 <command>pkg-config --cflags --libs libsystemd</command>
43 </cmdsynopsis>
44 </refsynopsisdiv>
45
46 <refsect1>
47 <title>Description</title>
48
49 <para>The <filename>libsystemd</filename> library provides functions that allow interacting with various
50 interfaces provided by the
51 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry> service
52 manager, as well as various other functions and constants useful for implementing services in
53 general.</para>
54
55 <para>See
56 <citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
57 <citerefentry><refentrytitle>sd-bus-errors</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
58 <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
59 <citerefentry><refentrytitle>sd-device</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
60 <citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
61 <citerefentry><refentrytitle>sd-hwdb</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
62 <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
63 <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
64 and
65 <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>
66 for information about different parts of the library interface.</para>
67 </refsect1>
68
69 <refsect1>
70 <title>Interface stability</title>
71
72 <para>Strict backwards-compatibility is maintained for the API (application programming interface) and
73 ABI (application binary interface). Symbol versioning is used, with symbols only added and never removed.
74 </para>
75 </refsect1>
76
77 <xi:include href="libsystemd-pkgconfig.xml" />
78
79 <refsect1>
80 <title>See Also</title>
13a69c12
DT
81 <para><simplelist type="inline">
82 <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
83 <member><citerefentry><refentrytitle>libudev</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
84 <member><citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
85 <member><ulink url="https://systemd.io/PORTABILITY_AND_STABILITY/">Interface Portability and Stability Promise</ulink></member>
86 </simplelist></para>
4bc96dc1
ZJS
87 </refsect1>
88
89</refentry>