home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / plstsrc / report.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-12-31  |  4.7 KB  |  80 lines

  1. /************************************************************************
  2. *************************************************************************
  3. ** NOTE:                                                               **
  4. **   This Module is part of the ATARI ST Implementation of Parselst    **
  5. **   It should NOT be used for general reference. Please read the com- **
  6. **   plete Disclaimer at the TOP of PARSELST.C.                        **
  7. **   Peter Glasmacher at 1:143/9  Ph (408)985-1538                     **
  8. *************************************************************************
  9. *************************************************************************/
  10.  
  11. /*----------------------------------------------------------------------*
  12. *                              Nodelist Parser                          *
  13. *                                                                       *
  14. *              This module was originally written by Bob Hartman        *
  15. *                       Sysop of FidoNet node 1:132/101                 *
  16. *                                                                       *
  17. * Spark Software, 427-3 Amherst St, CS 2032, Suite 232, Nashua, NH 03061*
  18. *                                                                       *
  19. * This program source code is being released with the following         *
  20. * provisions:                                                           *
  21. *                                                                       *
  22. * 1.  You are  free to make  changes to this source  code for use on    *
  23. *     your own machine,  however,  altered source files may not be      *
  24. *     distributed without the consent of Spark Software.                *
  25. *                                                                       *
  26. * 2.  You may distribute "patches"  or  "diff" files for any changes    *
  27. *     that you have made, provided that the "patch" or "diff" files are *
  28. *     also sent to Spark Software for inclusion in future releases of   *
  29. *     the entire package.   A "diff" file for the source archives may   *
  30. *     also contain a compiled version,  provided it is  clearly marked  *
  31. *     as not  being created  from the original source code.             *
  32. *     No other  executable  versions may be  distributed without  the   *
  33. *     consent of Spark Software.                                        *
  34. *                                                                       *
  35. * 3.  You are free to include portions of this source code in any       *
  36. *     program you develop, providing:  a) Credit is given to Spark      *
  37. *     Software for any code that may is used, and  b) The resulting     *
  38. *     program is free to anyone wanting to use it, including commercial *
  39. *     and government users.                                             *
  40. *                                                                       *
  41. * 4.  There is  NO  technical support  available for dealing with this  *
  42. *     source code, or the accompanying executable files.  This source   *
  43. *     code  is provided as is, with no warranty expressed or implied    *
  44. *     (I hate legalease).   In other words, if you don't know what to   *
  45. *     do with it,  don't use it,  and if you are brave enough to use it,*
  46. *      you're on your own.                                              *
  47. *                                                                       *
  48. * Spark Software may be contacted by modem at (603) 888-8179            *
  49. * (node 1:132/101)                                                      *
  50. * on the public FidoNet network, or at the address given above.         *
  51. *                                                                       *
  52. *-----------------------------------------------------------------------*/
  53.  
  54. #include <stdio.h>
  55. #include <ctype.h>
  56. #include <time.h>
  57.  
  58. #include "types.h"
  59. #include "externs.h"
  60. #include "pl.h"
  61. void size_report (void)
  62. {
  63.    printf ("Network Size Report:\n\n");
  64.    printf ("Total Nodes Processed        = %d\n", nnodes);
  65.    printf ("Nodes Deleted (Down)         = %d\n", ndown);
  66.    printf ("Nodes ReDirected to Host/Hub = %d\n", nredirect);
  67.    printf ("---------------------------------------\n");
  68.    nnodes = nnodes - ndown - nredirect;
  69.    printf ("Total Nodes Open for mail    = %d\n", nnodes);
  70.    printf ("Zone Coordinators Listed     = %d\n", nzones);
  71.    printf ("Regional Coordinators Listed = %d\n", nregions);
  72.    printf ("Network Coordinators Listed  = %d\n", nnets);
  73.    printf ("Hub Coordinators Listed      = %d\n", nhubs);
  74.    printf ("=======================================\n");
  75.    nnodes = nnodes - nzones - nregions - nnets - nhubs;
  76.    printf ("Total Independent Nodes      = %d\n\n", nnodes);
  77. }
  78.  
  79.  
  80.