]>
Commit | Line | Data |
---|---|---|
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 <systemd/sd-bus.h> | |
27 | #include <systemd/sd-bus-vtable.h> | |
28 | #include <systemd/sd-bus-protocol.h> | |
29 | #include <systemd/sd-daemon.h> | |
30 | #include <systemd/sd-device.h> | |
31 | #include <systemd/sd-event.h> | |
32 | #include <systemd/sd-gpt.h> | |
33 | #include <systemd/sd-hwdb.h> | |
34 | #include <systemd/sd-id128.h> | |
35 | #include <systemd/sd-journal.h> | |
36 | #include <systemd/sd-login.h> | |
37 | #include <systemd/sd-messages.h> | |
38 | #include <systemd/sd-path.h> | |
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> |