clustal-omega-1.2.4/src/squid/squidcore.c
/* Function: Banner()
 * Date:     SRE, Sun Jun 20 17:19:41 1999 [Graeme's kitchen]
 *
 * Purpose:  Print a package version and copyright banner.
 *           Used by all the main()'s.
 *           
 *           Expects to be able to pick up defined macros:
 *           macro         example
 *           ------        --------------  
 *           PACKAGE       "HMMER"
 *           RELEASE       "2.0.42"
 *           RELEASEDATE   "April 1 1999"
 *           COPYRIGHT     "Copyright (C) 1992-1999 Washington University School of Medicine"
 *           LICENSE       "HMMER is freely distributed under the GNU General Public License (GPL)."
 *           
 *           This gives us a general mechanism to update release information
 *           without changing multiple points in the code; we can also override
 *           SQUID release data with another package's release data (e.g.
 *           HMMER) just by redefining macros.
 * 
 * Args:     fp     - where to print it
 *           banner - one-line program description, e.g.:
 *                    "foobar - make bars from foo with elan" 
 * Returns:  (void)
 */


Print a package version and copyright banner.
Used by all the main()'s.



This gives us a general mechanism to update release information
without changing multiple points in the code; we can also override
SQUID release data with another package's release data  just by redefining macros.

fp     - where to print it
banner - one-line program description, e.g.:
"foobar - make bars from foo with elan"
Returns:  (void)
Print a package version and copyright banner . Used by all the main () ' s . This gives us a general mechanism to update release information without changing multiple points in the code ; we can also override SQUID release data with another package ' s release data just by redefining macros . fp - where to print it banner - one - line program description e . g . : " foobar - make bars from foo with elan " Returns : ( void )
void
Banner(FILE *fp, char *banner)
{
  fprintf(fp, "%s\n%s %s (%s)\n%s\n%s\n", banner, PACKAGE, RELEASE, RELEASEDATE, COPYRIGHT, LICENSE);
  fprintf(fp, "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n");
}
void Banner ( FILE * fp , char * banner ) { fprintf ( fp , " \n \n \n \n " , banner , PACKAGE , RELEASE , RELEASEDATE , COPYRIGHT , LICENSE ) ; fprintf ( fp , " \n " ) ; }
Function: Banner()
 Date:     SRE, Sun Jun 20 17:19:41 1999 [Graeme's kitchen]
Function : Banner () Date : SRE Sun Jun 20 17 : 19 : 41 1999 [ Graeme ' s kitchen ]