home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume25 / finger / part01 / info.h < prev    next >
C/C++ Source or Header  |  1992-04-03  |  1KB  |  47 lines

  1. /*
  2.  * info.h -- values looked up via nlist for finger
  3.  *
  4.  * Copyright (C) 1986, 1990  Philip L. Budne
  5.  *
  6.  * This file is part of "Phil's Finger Program".
  7.  *
  8.  * This program is free software; you can redistribute it and/or modify
  9.  * it under the terms of the GNU General Public License as published by
  10.  * the Free Software Foundation; either version 1, or (at your option)
  11.  * any later version.
  12.  *
  13.  */
  14.  
  15. # define INFO_RCSID "$Id: info.h,v 3.0 90/07/06 13:11:03 budd Rel $"
  16.  
  17. # define VERSTRLEN 80
  18. # ifndef _FINGER_H_
  19. # include "finger.h"            /* for CONC */
  20. # endif /* _FINGER_H_ not defined */
  21.  
  22. /*
  23.  *    this carries the creation date of syms.h but not the creation
  24.  *    date of info.h its assumed (bad idea) that any change here
  25.  *    will be refelected in the size of the written file.
  26.  */
  27.  
  28. struct info {
  29.     char info_fingerversion[ 2*VERSTRLEN ]; /* longversion from finger */
  30.                     /* (just for show) */
  31.     unsigned long info_kerneldate;    /* creation time of /vmunix */
  32.     unsigned long info_kernelsize;    /* file size of /vmunix */
  33.     unsigned long info_symdate;        /* creation time of syms.h */
  34. # define SYM(s,sc,m) unsigned long CONC(info_,m) ;
  35. # include "syms.h"
  36. # undef SYM
  37. # ifdef HAVE_VERSION
  38.     char info_verstr[ VERSTRLEN+1 ];    /* _version from kernel build */
  39. # endif /* HAVE_VERSION defined */
  40. };
  41.  
  42. /*
  43.  * Local variables:
  44.  * comment-column: 40
  45.  * End:
  46.  */
  47.