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