home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_133.SZH / DATA.C next >
Text File  |  1991-09-20  |  3KB  |  92 lines

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