]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/udev_monitor_filter_update.xml
networkd: IPv6 router discovery - follow IPv6AcceptRouterAdvertisemnt=
[thirdparty/systemd.git] / man / udev_monitor_filter_update.xml
CommitLineData
06255d6f
DH
1<?xml version='1.0'?> <!--*-nxml-*-->
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4<!ENTITY % entities SYSTEM "custom-entities.ent" >
5%entities;
6]>
7
8<!--
9 This file is part of systemd.
10
11 Copyright 2015 David Herrmann <dh.herrmann@gmail.com>
12
13 systemd is free software; you can redistribute it and/or modify it
14 under the terms of the GNU Lesser General Public License as published by
15 the Free Software Foundation; either version 2.1 of the License, or
16 (at your option) any later version.
17
18 systemd is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public License
24 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25-->
26
27<refentry id="udev_monitor_filter_update"
28 xmlns:xi="http://www.w3.org/2001/XInclude">
29
30 <refentryinfo>
31 <title>udev_monitor_filter_update</title>
32 <productname>systemd</productname>
33
34 <authorgroup>
35 <author>
36 <contrib>Developer</contrib>
37 <firstname>David</firstname>
38 <surname>Herrmann</surname>
39 <email>dh.herrmann@gmail.com</email>
40 </author>
41 </authorgroup>
42 </refentryinfo>
43
44 <refmeta>
45 <refentrytitle>udev_monitor_filter_update</refentrytitle>
46 <manvolnum>3</manvolnum>
47 </refmeta>
48
49 <refnamediv>
50 <refname>udev_monitor_filter_update</refname>
51 <refname>udev_monitor_filter_remove</refname>
52 <refname>udev_monitor_filter_add_match_subsystem_devtype</refname>
53 <refname>udev_monitor_filter_add_match_tag</refname>
54
55 <refpurpose>Modify filters</refpurpose>
56 </refnamediv>
57
58 <refsynopsisdiv>
59 <funcsynopsis>
60 <funcsynopsisinfo>#include &lt;libudev.h&gt;</funcsynopsisinfo>
61
62 <funcprototype>
63 <funcdef>int <function>udev_monitor_filter_update</function></funcdef>
64 <paramdef>struct udev_monitor *<parameter>udev_monitor</parameter></paramdef>
65 </funcprototype>
66
67 <funcprototype>
68 <funcdef>int <function>udev_monitor_filter_remove</function></funcdef>
69 <paramdef>struct udev_monitor *<parameter>udev_monitor</parameter></paramdef>
70 </funcprototype>
71
72 <funcprototype>
73 <funcdef>int <function>udev_monitor_filter_add_match_subsystem_devtype</function></funcdef>
74 <paramdef>struct udev_monitor *<parameter>udev_monitor</parameter></paramdef>
75 <paramdef>const char *<parameter>subsystem</parameter></paramdef>
76 <paramdef>const char *<parameter>devtype</parameter></paramdef>
77 </funcprototype>
78
79 <funcprototype>
80 <funcdef>int <function>udev_monitor_filter_add_match_tag</function></funcdef>
81 <paramdef>struct udev_monitor *<parameter>udev_monitor</parameter></paramdef>
82 <paramdef>const char *<parameter>tag</parameter></paramdef>
83 </funcprototype>
84
85 </funcsynopsis>
86 </refsynopsisdiv>
87
88 <!--<refsect1>
89 <title>Description</title>
90
91 <para>XXX: Add short description.</para>
92 </refsect1>-->
93
94 <refsect1>
95 <title>Return Value</title>
96
97 <para>On success,
98 <function>udev_monitor_filter_update()</function>,
99 <function>udev_monitor_filter_remove()</function>,
100 <function>udev_monitor_filter_add_match_subsystem_devtype()</function>
101 and
102 <function>udev_monitor_filter_add_match_tag()</function>
103 return an integer greater than, or equal to,
104 <constant>0</constant>. On failure, a negative error code is
105 returned.</para>
106 </refsect1>
107
108 <refsect1>
109 <title>See Also</title>
110
111 <para>
112 <citerefentry><refentrytitle>udev_new</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
113 <citerefentry><refentrytitle>udev_device_new_from_syspath</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
114 <citerefentry><refentrytitle>udev_enumerate_new</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
115 <citerefentry><refentrytitle>udev_monitor_new_from_netlink</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
116 <citerefentry><refentrytitle>udev_monitor_receive_device</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
117 <citerefentry><refentrytitle>udev_list_entry</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
118 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
119 </para>
120 </refsect1>
121
122</refentry>