udev: define all generic tags as symbols
This prevents errors due to nasty typos in the strings. We define all symbols in a single header file that is NOT considered part of the API, as there is no need for MM clients to know about these tags code-wise. These tags are only meaningful when associated to devices in udev. Information of each tag is included in the general API documentation. https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/88
This commit is contained in:

committed by
Dan Williams

parent
a2705abb24
commit
2a1a0b88fb
@@ -49,6 +49,7 @@
|
||||
<year>2015</year>
|
||||
<year>2016</year>
|
||||
<year>2017</year>
|
||||
<year>2018</year>
|
||||
<holder>The ModemManager Authors</holder>
|
||||
</copyright>
|
||||
|
||||
@@ -84,6 +85,11 @@
|
||||
<xi:include href="xml/mm-errors.xml"/>
|
||||
</part>
|
||||
|
||||
<part id="ref-udev">
|
||||
<title>Common udev tag definitions</title>
|
||||
<xi:include href="xml/mm-tags.xml"/>
|
||||
</part>
|
||||
|
||||
<!-- Part 2, DBus reference -->
|
||||
<xi:include href="xml/ModemManager-dbus-reference.xml"/>
|
||||
|
||||
|
Reference in New Issue
Block a user