2
* Author: Ed Griffiths (edgrif@mrc-lmba.cam.ac.uk)
3
* Copyright (C) J Thierry-Mieg and R Durbin, 1998
4
* -------------------------------------------------------------------
5
* Acedb is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
* or see the on-line version at http://www.gnu.org/copyleft/gpl.txt
19
* -------------------------------------------------------------------
20
* This file is part of the ACEDB genome database package, written by
21
* Richard Durbin (MRC LMB, UK) rd@mrc-lmba.cam.ac.uk, and
22
* Jean Thierry-Mieg (CRBM du CNRS, France) mieg@crbm1.cnusc.fr
24
* Description: Declares functions in the new acedb_version module.
25
* These functions allow the retrieval of various parts
26
* of the current acedb version number or string.
27
* Exported functions: See descriptions below.
29
* Last edited: Apr 13 14:04 2004 (rnc)
30
* * Dec 3 14:39 1998 (edgrif): Changed the interface to fit in with
32
* Created: Wed Apr 29 13:46:41 1998 (edgrif)
33
*-------------------------------------------------------------------
41
/* Use this set of functions to return the individual parts of the ACEDB release numbers, */
42
/* including version number, release number, update letter and build date/time. */
43
int aceGetVersion(void) ;
44
int aceGetRelease(void) ;
45
int aceGetUpdate(void) ;
46
char *aceGetReleaseDir(void) ;
47
char *aceGetLinkDate(void) ;
49
/* Use this set of functions to return standard format string versions of the ACEDB */
50
/* release version and build date. */
51
/* Version string is in the form: */
52
/* "ACEDB <version>_<release><update>" e.g. "ACEDB 4_6d" */
54
/* LinkDate string is in the form: */
55
/* "compiled on: __DATE__ __TIME__" e.g. "compiled on: Dec 3 1998 13:59:07" */
57
char *aceGetVersionString(void) ;
58
char *aceGetLinkDateString(void) ;
61
/* Checks for the "-version" command line option, if found, prints version */
62
/* information to stdout and exits, so should be called early on in a */
63
/* programs execution. */
64
void checkForCmdlineVersion(int *argcp, char **argv) ;
67
#endif /* end of ACE_VERSION_H */