1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
|
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<refentry id="listaller-version">
<refmeta>
<refentrytitle role="top_of_page" id="listaller-version.top_of_page">version</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
LISTALLER Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>version</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1 id="listaller-version.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-get-version-info-str">listaller_get_version_info_str</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-get-full-version-info-str">listaller_get_full_version_info_str</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-compare-versions">listaller_compare_versions</link> <phrase role="c_punctuation">()</phrase></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="listaller-version.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>
</screen>
</refsect1>
<refsect1 id="listaller-version.description" role="desc">
<title role="desc.title">Description</title>
</refsect1>
<refsect1 id="listaller-version.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="listaller-get-version-info-str" role="function">
<title>listaller_get_version_info_str ()</title>
<indexterm zone="listaller-get-version-info-str"><primary sortas="get_version_info_str">listaller_get_version_info_str</primary></indexterm>
<programlisting language="C"><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
listaller_get_version_info_str (<parameter><type>void</type></parameter>);</programlisting>
<para>Get string describing Listaller's version number.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the (null) instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> Listaller version string </para>
<para></para>
</refsect3></refsect2>
<refsect2 id="listaller-get-full-version-info-str" role="function">
<title>listaller_get_full_version_info_str ()</title>
<indexterm zone="listaller-get-full-version-info-str"><primary sortas="get_full_version_info_str">listaller_get_full_version_info_str</primary></indexterm>
<programlisting language="C"><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
listaller_get_full_version_info_str (<parameter><type>void</type></parameter>);</programlisting>
<para>Get string describing Listaller's version number. This function will return a more detailed description of Listaller's version and the OS it's running on.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the (null) instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> detailed Listaller version string </para>
<para></para>
</refsect3></refsect2>
<refsect2 id="listaller-compare-versions" role="function">
<title>listaller_compare_versions ()</title>
<indexterm zone="listaller-compare-versions"><primary sortas="compare_versions">listaller_compare_versions</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
listaller_compare_versions (<parameter>const <link linkend="gchar"><type>gchar</type></link> *a</parameter>,
<parameter>const <link linkend="gchar"><type>gchar</type></link> *b</parameter>);</programlisting>
<para>compare alpha and numeric segments of two versions</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the (null) instance</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>a</para></entry>
<entry role="parameter_description"><para> </para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>b</para></entry>
<entry role="parameter_description"><para> </para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> 1: a is newer than b 0: a and b are the same version -1: b is newer than a </para>
<para></para>
</refsect3></refsect2>
</refsect1>
<refsect1 id="listaller-version.other_details" role="details">
<title role="details.title">Types and Values</title>
</refsect1>
</refentry>
|