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