File: version-cmp.c.3

package info (click to toggle)
discover 2.1.2-10.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,756 kB
  • sloc: sh: 7,862; ansic: 7,280; xml: 1,809; makefile: 679
file content (83 lines) | stat: -rw-r--r-- 2,012 bytes parent folder | download | duplicates (9)
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
.TH "/home/pere/src/debiancvs/pkg-discover/discover/trunk/lib/version-cmp.c" 3 "28 Jul 2005" "discover" \" -*- nroff -*-
.ad l
.nh
.SH NAME
/home/pere/src/debiancvs/pkg-discover/discover/trunk/lib/version-cmp.c \- Version comparison functions. 
.SH SYNOPSIS
.br
.PP
\fC#include 'config.h'\fP
.br
\fC#include <assert.h>\fP
.br
\fC#include <ctype.h>\fP
.br
\fC#include <stdio.h>\fP
.br
\fC#include <stdlib.h>\fP
.br
\fC#include <string.h>\fP
.br
\fC#include <discover/discover.h>\fP
.br
\fC#include <discover/utils.h>\fP
.br

.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBMAXBUFLEN\fP   256"
.br
.in -1c
.SS "Typedefs"

.in +1c
.ti -1c
.RI "typedef enum \fBrange_states\fP \fBrange_state\fP"
.br
.in -1c
.SS "Enumerations"

.in +1c
.ti -1c
.RI "enum \fBrange_states\fP { \fBSTART\fP, \fBOPEN\fP, \fBVERSION1\fP, \fBVERSEP1\fP, \fBPAUSE1\fP, \fBSEPARATOR\fP, \fBI\fP, \fBN\fP, \fBF\fP, \fBVERSION2\fP, \fBVERSEP2\fP, \fBPAUSE2\fP, \fBCLOSE\fP, \fBERROR\fP }"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "int \fBdiscover_xml_version_cmp\fP (char *range, char *version, \fBdiscover_error_t\fP *status)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Version comparison functions. 

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. 
.PP
Definition in file \fBversion-cmp.c\fP.
.SH "Define Documentation"
.PP 
.SS "#define MAXBUFLEN   256"
.PP
This probably shouldn't be here; it's bad practice (3.0, right). 
.PP
Definition at line 55 of file version-cmp.c.
.SH "Typedef Documentation"
.PP 
.SS "typedef enum \fBrange_states\fP
 \fBrange_state\fP"
.PP
This is used as a placeholder while comparing versions of modules. 
.SH "Enumeration Type Documentation"
.PP 
.SS "enum \fBrange_states\fP"
.PP
Version placeholders 
.PP
Definition at line 58 of file version-cmp.c.
.SH "Author"
.PP 
Generated automatically by Doxygen for discover from the source code.