Wrapper for Clustal Omega.
[jabaws.git] / binaries / src / clustalo / src / squid / squidcore.c
1 /************************************************************
2  * SQUID - a library of functions for biological sequence analysis
3  * Copyright (C) 1992-2002 Washington University School of Medicine
4  * 
5  *     This source code is freely distributed under the terms of the
6  *     GNU General Public License. See the files COPYRIGHT and LICENSE
7  *     for details.
8  ************************************************************/
9
10 /* squidcore.c
11  * SRE, Sun Jun 20 17:19:04 1999 [Graeme's kitchen]
12  * 
13  * Core functions for SQUID library.
14  * RCS $Id: squidcore.c 217 2011-03-19 10:27:10Z andreas $ (Original squid RCS Id: squidcore.c,v 1.1 1999/07/15 22:24:41 eddy Exp)
15  */
16
17 #include <stdio.h>
18 #include "version.h"
19
20 /* Function: Banner()
21  * Date:     SRE, Sun Jun 20 17:19:41 1999 [Graeme's kitchen]
22  *
23  * Purpose:  Print a package version and copyright banner.
24  *           Used by all the main()'s.
25  *           
26  *           Expects to be able to pick up defined macros:
27  *           macro         example
28  *           ------        --------------  
29  *           PACKAGE       "HMMER"
30  *           RELEASE       "2.0.42"
31  *           RELEASEDATE   "April 1 1999"
32  *           COPYRIGHT     "Copyright (C) 1992-1999 Washington University School of Medicine"
33  *           LICENSE       "HMMER is freely distributed under the GNU General Public License (GPL)."
34  *           
35  *           This gives us a general mechanism to update release information
36  *           without changing multiple points in the code; we can also override
37  *           SQUID release data with another package's release data (e.g.
38  *           HMMER) just by redefining macros.
39  * 
40  * Args:     fp     - where to print it
41  *           banner - one-line program description, e.g.:
42  *                    "foobar - make bars from foo with elan" 
43  * Returns:  (void)
44  */
45 void
46 Banner(FILE *fp, char *banner)
47 {
48   fprintf(fp, "%s\n%s %s (%s)\n%s\n%s\n", banner, PACKAGE, RELEASE, RELEASEDATE, COPYRIGHT, LICENSE);
49   fprintf(fp, "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n");
50 }
51
52