1 /* @source enssoftware ********************************************************
2 **
3 ** Ensembl Software functions
4 **
5 ** @author Copyright (C) 1999 Ensembl Developers
6 ** @author Copyright (C) 2006 Michael K. Schuster
7 ** @version $Revision: 1.18 $
8 ** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core
9 ** @modified $Date: 2013/02/17 13:04:02 $ by $Author: mks $
10 ** @@
11 **
12 ** This library is free software; you can redistribute it and/or
13 ** modify it under the terms of the GNU Lesser General Public
14 ** License as published by the Free Software Foundation; either
15 ** version 2.1 of the License, or (at your option) any later version.
16 **
17 ** This library is distributed in the hope that it will be useful,
18 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 ** Lesser General Public License for more details.
21 **
22 ** You should have received a copy of the GNU Lesser General Public
23 ** License along with this library; if not, write to the Free Software
24 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25 ** MA 02110-1301, USA.
26 **
27 ******************************************************************************/
28
29 /* ========================================================================= */
30 /* ============================= include files ============================= */
31 /* ========================================================================= */
32
33 #include "enssoftware.h"
34
35
36
37
38 /* ========================================================================= */
39 /* =============================== constants =============================== */
40 /* ========================================================================= */
41
42 /* @const ensKSoftwareVersion *************************************************
43 **
44 ** This is the software version of the AJAX Ensembl library.
45 ** Interoperation is only guaranteed if software and database versions match.
46 **
47 ******************************************************************************/
48
49 const char *ensKSoftwareVersion = "68";
50
51
52
53
54 /* ========================================================================= */
55 /* =========================== global variables ============================ */
56 /* ========================================================================= */
57
58
59
60
61 /* ========================================================================= */
62 /* ============================= private data ============================== */
63 /* ========================================================================= */
64
65
66
67
68 /* ========================================================================= */
69 /* =========================== private constants =========================== */
70 /* ========================================================================= */
71
72
73
74
75 /* ========================================================================= */
76 /* =========================== private variables =========================== */
77 /* ========================================================================= */
78
79
80
81
82 /* ========================================================================= */
83 /* =========================== private functions =========================== */
84 /* ========================================================================= */
85
86
87
88
89 /* ========================================================================= */
90 /* ======================= All functions by section ======================== */
91 /* ========================================================================= */
92
93
94
95
96 /* @filesection enssoftware ***************************************************
97 **
98 ** @nam1rule ens Function belongs to the Ensembl library
99 ** @nam2rule Software Functions for manipulating Ensembl Software
100 **
101 ******************************************************************************/
102
103
104
105
106 /* @datasection [none] Ensembl Software Internals *****************************
107 **
108 ** Functions to control Ensembl Software Internals
109 **
110 ** @cc Bio::EnsEMBL::ApiVersion
111 ** @cc CVS Revision: 1.15
112 ** @cc CVS Tag: branch-ensembl-68
113 **
114 ******************************************************************************/
115
116
117
118
119 /* @section member retrieval **************************************************
120 **
121 ** Functions for returning members of the Ensembl Software internals.
122 **
123 ** @fdata [none]
124 **
125 ** @nam3rule Get Return Ensembl Software attribute(s)
126 ** @nam4rule Version Return the version
127 **
128 ** @valrule Version [const char*] Version or NULL
129 **
130 ** @fcategory use
131 ******************************************************************************/
132
133
134
135
136 /* @func ensSoftwareGetVersion ************************************************
137 **
138 ** Get the version member of the Ensembl Software.
139 **
140 ** @cc Bio::EnsEMBL::ApiVersion::software_version
141 ** @return [const char*] Ensembl Software Version or NULL
142 **
143 ** @release 6.4.0
144 ** @@
145 ******************************************************************************/
146
ensSoftwareGetVersion(void)147 const char* ensSoftwareGetVersion(void)
148 {
149 return ensKSoftwareVersion;
150 }
151