| 1 |
<?xml version='1.0'?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> |
| 4 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 5 |
|
| 6 |
<refentry id="sd-hwdb" xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 7 |
|
| 8 |
<refentryinfo> |
| 9 |
<title>sd-hwdb</title> |
| 10 |
<productname>systemd</productname> |
| 11 |
</refentryinfo> |
| 12 |
|
| 13 |
<refmeta> |
| 14 |
<refentrytitle>sd-hwdb</refentrytitle> |
| 15 |
<manvolnum>3</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>sd-hwdb</refname> |
| 20 |
<refpurpose>Read-only access to the hardware description database</refpurpose> |
| 21 |
</refnamediv> |
| 22 |
|
| 23 |
<refsynopsisdiv> |
| 24 |
<funcsynopsis> |
| 25 |
<funcsynopsisinfo>#include <systemd/sd-hwdb.h></funcsynopsisinfo> |
| 26 |
</funcsynopsis> |
| 27 |
|
| 28 |
<cmdsynopsis> |
| 29 |
<command>pkg-config --cflags --libs libsystemd</command> |
| 30 |
</cmdsynopsis> |
| 31 |
|
| 32 |
</refsynopsisdiv> |
| 33 |
|
| 34 |
<refsect1> |
| 35 |
<title>Description</title> |
| 36 |
|
| 37 |
<para><filename>sd-hwdb.h</filename> is part of |
| 38 |
<citerefentry><refentrytitle>libsystemd</refentrytitle><manvolnum>3</manvolnum></citerefentry> and allows |
| 39 |
read-only access the systemd database of hardware properties. See |
| 40 |
<citerefentry><refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum></citerefentry> and |
| 41 |
<citerefentry><refentrytitle>systemd-hwdb</refentrytitle><manvolnum>8</manvolnum></citerefentry> for more |
| 42 |
information about the database.</para> |
| 43 |
|
| 44 |
<para>See <citerefentry><refentrytitle>sd_hwdb_new</refentrytitle><manvolnum>3</manvolnum></citerefentry> |
| 45 |
and <citerefentry><refentrytitle>sd_hwdb_get</refentrytitle><manvolnum>3</manvolnum></citerefentry> for |
| 46 |
information about the functions available.</para> |
| 47 |
</refsect1> |
| 48 |
|
| 49 |
<xi:include href="libsystemd-pkgconfig.xml" /> |
| 50 |
|
| 51 |
<refsect1> |
| 52 |
<title>See Also</title> |
| 53 |
<para><simplelist type="inline"> |
| 54 |
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 55 |
<member><citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member> |
| 56 |
</simplelist></para> |
| 57 |
</refsect1> |
| 58 |
|
| 59 |
</refentry> |