home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pine / ccmd / cmver.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-08-19  |  767 b   |  33 lines

  1. /*
  2.  Author: Howie Kaye
  3.  
  4.  Columbia University Center for Computing Activities, July 1986.
  5.  Copyright (C) 1986, 1987, Trustees of Columbia University in the City
  6.  of New York.  Permission is granted to any individual or institution
  7.  to use, copy, or redistribute this software so long as it is not sold
  8.  for profit, provided this copyright notice is retained.
  9. */
  10.  
  11. #include "cmver.h"
  12.  
  13. static int cm_major_version = MAJORVERSION;
  14. static int cm_minor_version = MINORVERSION;
  15. static char *cm_version_date = VERSIONDATE;
  16.  
  17. char *
  18. cm_version()  {
  19.   static char buf[100];
  20.   sprintf(buf,"CCMD Version %d.%d of %s", cm_major_version, cm_minor_version,
  21.       cm_version_date);
  22.   return(buf);
  23. }
  24.  
  25. cm_major() {
  26.   return(cm_major_version);
  27. }
  28.  
  29. cm_minor() {
  30.   return(cm_minor_version);
  31. }
  32.  
  33.