/usr/share/doc/discover/api-reference/version-cmp_8c.html is in libdiscover-dev 2.1.2-5.2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 135 136 137 138 139 140 141 142 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>discover: /home/pere/src/debiancvs/pkg-discover/discover/trunk/lib/version-cmp.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000002.html">lib</a></div>
<h1>version-cmp.c File Reference</h1>Version comparison functions. <a href="#_details">More...</a>
<p>
<code>#include "config.h"</code><br>
<code>#include <assert.h></code><br>
<code>#include <ctype.h></code><br>
<code>#include <stdio.h></code><br>
<code>#include <stdlib.h></code><br>
<code>#include <string.h></code><br>
<code>#include <<a class="el" href="discover_8h-source.html">discover/discover.h</a>></code><br>
<code>#include <discover/utils.h></code><br>
<p>
<a href="version-cmp_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="version-cmp_8c.html#a0">MAXBUFLEN</a> 256</td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="version-cmp_8c.html#a21">range_states</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="version-cmp_8c.html#a1">range_state</a></td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="version-cmp_8c.html#a21">range_states</a> { <br>
<b>START</b>,
<b>OPEN</b>,
<b>VERSION1</b>,
<b>VERSEP1</b>,
<br>
<b>PAUSE1</b>,
<b>SEPARATOR</b>,
<b>I</b>,
<b>N</b>,
<br>
<b>F</b>,
<b>VERSION2</b>,
<b>VERSEP2</b>,
<b>PAUSE2</b>,
<br>
<b>CLOSE</b>,
<b>ERROR</b>
<br>
}</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__version__cmp.html#ga0">discover_xml_version_cmp</a> (char *range, char *version, <a class="el" href="structdiscover__error.html">discover_error_t</a> *status)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Version comparison functions.
<p>
This file holds the routines needed to process version data in the XML file. This version data is used to look for information pertaining to a particular version of the OS/software requiring that information.
<p>
Definition in file <a class="el" href="version-cmp_8c-source.html">version-cmp.c</a>.<hr><h2>Define Documentation</h2>
<a class="anchor" name="a0" doxytag="version-cmp.c::MAXBUFLEN"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define MAXBUFLEN 256 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
This probably shouldn't be here; it's bad practice (3.0, right).
<p>
Definition at line <a class="el" href="version-cmp_8c-source.html#l00055">55</a> of file <a class="el" href="version-cmp_8c-source.html">version-cmp.c</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="a1" doxytag="version-cmp.c::range_state"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef enum <a class="el" href="version-cmp_8c.html#a21">range_states</a>
<a class="el" href="version-cmp_8c.html#a1">range_state</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
This is used as a placeholder while comparing versions of modules. </td>
</tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="a21" doxytag="version-cmp.c::range_states"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="version-cmp_8c.html#a21">range_states</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Version placeholders
<p>
Definition at line <a class="el" href="version-cmp_8c-source.html#l00058">58</a> of file <a class="el" href="version-cmp_8c-source.html">version-cmp.c</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 28 03:38:01 2005 for discover by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
</body>
</html>
|