diff options
Diffstat (limited to 'docs/reference/api/html/ModemManager-Version-checks.html')
-rw-r--r-- | docs/reference/api/html/ModemManager-Version-checks.html | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/docs/reference/api/html/ModemManager-Version-checks.html b/docs/reference/api/html/ModemManager-Version-checks.html new file mode 100644 index 0000000..1dafb8d --- /dev/null +++ b/docs/reference/api/html/ModemManager-Version-checks.html @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Version checks</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<link rel="home" href="index.html" title="ModemManager Reference Manual"> +<link rel="up" href="ref-common-types.html" title="Part II. Common types and definitions"> +<link rel="prev" href="ref-common-types.html" title="Part II. Common types and definitions"> +<link rel="next" href="ModemManager-Flags-and-Enumerations.html" title="Flags and Enumerations"> +<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="ref-common-types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ref-common-types.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">ModemManager Reference Manual</th> +<td><a accesskey="n" href="ModemManager-Flags-and-Enumerations.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#ModemManager-Version-checks.synopsis" class="shortcut">Top</a> + | + <a href="#ModemManager-Version-checks.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry"> +<a name="ModemManager-Version-checks"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="ModemManager-Version-checks.top_of_page"></a>Version checks</span></h2> +<p>Version checks — Version information in the API.</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<a name="ModemManager-Version-checks.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis">#define <a class="link" href="ModemManager-Version-checks.html#MM-MAJOR-VERSION:CAPS" title="MM_MAJOR_VERSION">MM_MAJOR_VERSION</a> +#define <a class="link" href="ModemManager-Version-checks.html#MM-MINOR-VERSION:CAPS" title="MM_MINOR_VERSION">MM_MINOR_VERSION</a> +#define <a class="link" href="ModemManager-Version-checks.html#MM-MICRO-VERSION:CAPS" title="MM_MICRO_VERSION">MM_MICRO_VERSION</a> +#define <a class="link" href="ModemManager-Version-checks.html#MM-CHECK-VERSION:CAPS" title="MM_CHECK_VERSION()">MM_CHECK_VERSION</a> (major, + minor, + micro) +</pre> +</div> +<div class="refsect1"> +<a name="ModemManager-Version-checks.description"></a><h2>Description</h2> +<p> +This section defines types that are used to identify the ModemManager version. +</p> +</div> +<div class="refsect1"> +<a name="ModemManager-Version-checks.details"></a><h2>Details</h2> +<div class="refsect2"> +<a name="MM-MAJOR-VERSION:CAPS"></a><h3>MM_MAJOR_VERSION</h3> +<pre class="programlisting">#define MM_MAJOR_VERSION (1) +</pre> +<p> +Evaluates to the major version number of ModemManager which this source +is compiled against. +</p> +</div> +<hr> +<div class="refsect2"> +<a name="MM-MINOR-VERSION:CAPS"></a><h3>MM_MINOR_VERSION</h3> +<pre class="programlisting">#define MM_MINOR_VERSION (0) +</pre> +<p> +Evaluates to the minor version number of ModemManager which this source +is compiled against. +</p> +</div> +<hr> +<div class="refsect2"> +<a name="MM-MICRO-VERSION:CAPS"></a><h3>MM_MICRO_VERSION</h3> +<pre class="programlisting">#define MM_MICRO_VERSION (0) +</pre> +<p> +Evaluates to the micro version number of ModemManager which this source +compiled against. +</p> +</div> +<hr> +<div class="refsect2"> +<a name="MM-CHECK-VERSION:CAPS"></a><h3>MM_CHECK_VERSION()</h3> +<pre class="programlisting">#define MM_CHECK_VERSION(major,minor,micro)</pre> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> +<col align="left" valign="top"> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>major</code></em> :</span></p></td> +<td>major version (e.g. 1 for version 1.2.5)</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>minor</code></em> :</span></p></td> +<td>minor version (e.g. 2 for version 1.2.5)</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>micro</code></em> :</span></p></td> +<td>micro version (e.g. 5 for version 1.2.5)</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of the ModemManager header files +is the same as or newer than the passed-in version.</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.18.1</div> +</body> +</html>
\ No newline at end of file |