home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
PLST_133.SZH
/
DATA.C
next >
Wrap
Text File
|
1991-09-20
|
3KB
|
92 lines
/*
Nodelist Parser
This module was originally written by Bob Hartman
Sysop of FidoNet node 1:104/501
This program source code is being released with the following provisions:
1. You are free to make changes to this source code for use on your own
machine, however, altered source files may not be distributed without the
consent of Spark Software.
2. You may distribute "patches" or "diff" files for any changes that you
have made, provided that the "patch" or "diff" files are also sent to Spark
Software for inclusion in future releases of the entire package. A "diff"
file for the source archives may also contain a compiled version, provided
it is clearly marked as not being created from the original source code.
No other executable versions may be distributed without the consent of
Spark Software.
3. You are free to include portions of this source code in any program you
develop, providing: a) Credit is given to Spark Software for any code that
may is used, and b) The resulting program is free to anyone wanting to use
it, including commercial and government users.
4. There is NO technical support available for dealing with this source
code, or the accompanying executable files. This source code is provided
as is, with no warranty expressed or implied (I hate legalease). In other
words, if you don't know what to do with it, don't use it, and if you are
brave enough to use it, you're on your own.
*/
#include <stdio.h>
#include "types.h"
PWTRP pw_head = NULL;
PHTRP ph_head = NULL;
BDTRP bd_head = NULL;
DLTRP dl_head = NULL;
COTRP co_head = NULL;
ETTRP et_head = NULL;
CMTRP cm_head = NULL;
FNLST fn_head;
PWTRP pw;
PHTRP ph;
BDTRP bd;
DLTRP dl;
COTRP co;
ETTRP et;
CMTRP cm;
FNLSTP fn;
FNLSTP tfn;
char intl_pre_dl[30];
char intl_post_dl[30];
char t_str[128];
char country[10];
int intl_cost = 0;
int maxbaud = 9600;
int out_type = -1;
int rdata = 1;
int udata = 0;
int nlist = 1;
int doreport = 1;
int nodash = 0;
int comments = 0;
int version7 = 0;
int version6 = 0;
int version5 = 0;
int binkley = 0;
int myzone = -1;
int mynet;
int mynode;
int nzones;
int nregions;
int nnets;
int nhubs;
int ndown;
int nredirect;
int nnodes;
int npoints;
int likely;
int usezone;
int fidoprn;
int fidotxt;
int do_index;
int do_points;
int sealist = 0;
int quickbbs = 0;
char nl[1000];