home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_132.SZH / DATA.C next >
C/C++ Source or Header  |  1989-07-16  |  3KB  |  95 lines

  1. /*
  2.                               Nodelist Parser
  3.  
  4.               This module was originally written by Bob Hartman
  5.                        Sysop of FidoNet node 1:132/101
  6.  
  7.    Spark Software, 427-3 Amherst St, CS 2032, Suite 232, Nashua, NH 03061
  8.  
  9.  This program source code is being released with the following provisions:
  10.  
  11.  1.  You are  free to make  changes to this source  code for use on your own
  12.  machine,  however,  altered source files may not be distributed without the 
  13.  consent of Spark Software.
  14.  
  15.  2.  You may distribute "patches"  or  "diff" files for any changes that you
  16.  have made, provided that the "patch" or "diff" files are also sent to Spark
  17.  Software for inclusion in future releases of the entire package.   A "diff"
  18.  file for the source archives may also contain a compiled version,  provided
  19.  it is  clearly marked as not  being created  from the original source code.
  20.  No other  executable  versions may be  distributed without  the  consent of
  21.  Spark Software.
  22.  
  23.  3.  You are free to include portions of this source code in any program you
  24.  develop, providing:  a) Credit is given to Spark Software for any code that
  25.  may is used, and  b) The resulting program is free to anyone wanting to use
  26.  it, including commercial and government users.
  27.  
  28.  4.  There is  NO  technical support  available for dealing with this source
  29.  code, or the accompanying executable files.  This source  code  is provided
  30.  as is, with no warranty expressed or implied (I hate legalease).   In other
  31.  words, if you don't know what to do with it,  don't use it,  and if you are
  32.  brave enough to use it, you're on your own.
  33.  
  34.  Spark Software may be contacted by modem at (603) 888-8179 (node 1:132/101)
  35.  on the public FidoNet network, or at the address given above.
  36.  
  37. */
  38.  
  39. #include <stdio.h>
  40. #include "types.h"
  41.  
  42. PWTRP pw_head = NULL;
  43. PHTRP ph_head = NULL;
  44. BDTRP bd_head = NULL;
  45. DLTRP dl_head = NULL;
  46. COTRP co_head = NULL;
  47. ETTRP et_head = NULL;
  48. CMTRP cm_head = NULL;
  49. FNLST fn_head;
  50. PWTRP pw;
  51. PHTRP ph;
  52. BDTRP bd;
  53. DLTRP dl;
  54. COTRP co;
  55. ETTRP et;
  56. CMTRP cm;
  57. FNLSTP fn;
  58. FNLSTP tfn;
  59.  
  60. char intl_pre_dl[30];
  61. char intl_post_dl[30];
  62. char t_str[128];
  63. char country[10];
  64. int intl_cost = 0;
  65. int maxbaud = 9600;
  66. int out_type = -1;
  67. int rdata = 1;
  68. int udata = 0;
  69. int nlist = 1;
  70. int doreport = 1;
  71. int nodash = 0;
  72. int comments = 0;
  73. int newopus = 0;
  74. int oldopus = 0;
  75. int binkley = 0;
  76. int myzone = -1;
  77. int mynet;
  78. int mynode;
  79. int nzones;
  80. int nregions;
  81. int nnets;
  82. int nhubs;
  83. int ndown;
  84. int nredirect;
  85. int nnodes;
  86. int likely;
  87. int usezone;
  88. int fidoprn;
  89. int fidotxt;
  90. int do_index;
  91. int do_points;
  92. int sealist = 0;
  93. int quickbbs = 0;
  94. char nl[1000];
  95.