home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_132.SZH / EXTERNS.H < prev    next >
Text File  |  1991-04-13  |  5KB  |  135 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. extern PWTRP pw_head;
  40. extern PHTRP ph_head;
  41. extern BDTRP bd_head;
  42. extern DLTRP dl_head;
  43. extern COTRP co_head;
  44. extern ETTRP et_head;
  45. extern CMTRP cm_head;
  46. extern FNLST fn_head;
  47. extern PWTRP pw;
  48. extern PHTRP ph;
  49. extern BDTRP bd;
  50. extern DLTRP dl;
  51. extern COTRP co;
  52. extern ETTRP et;
  53. extern CMTRP cm;
  54. extern FNLSTP fn;
  55.  
  56. extern char intl_pre_dl[];
  57. extern char intl_post_dl[];
  58. extern char country[];
  59. extern char t_str[];
  60. extern int intl_cost;
  61. extern int maxbaud;
  62. extern int out_type;
  63. extern int rdata;
  64. extern int udata;
  65. extern int nlist;
  66. extern int doreport;
  67. extern int nodash;
  68. extern int comments;
  69. extern int newopus;
  70. extern int oldopus;
  71. extern int myzone;
  72. extern int mynet;
  73. extern int mynode;
  74. extern int nzones;
  75. extern int nregions;
  76. extern int nnets;
  77. extern int nhubs;
  78. extern int ndown;
  79. extern int nredirect;
  80. extern int nnodes;
  81. extern int likely;
  82. extern int usezone;
  83. extern int fidoprn;
  84. extern int fidotxt;
  85. extern int do_index;
  86. extern int do_points;
  87. extern int sealist;
  88. extern int binkley;
  89. extern int quickbbs;
  90. extern char nl[1000];
  91.  
  92. extern    char      *mymalloc(unsigned int s);
  93. extern    char      *nextfield(char *p,char *s);
  94. extern    void      add_files(void );
  95. extern    void      close_files(void );
  96. extern    int       cmp(struct nidxs *a,struct nidxs *b);
  97. extern unsigned int crcstr(char *buf,unsigned int crc);
  98. extern    int       dir_findfirst(char *filename,int attribute,struct find_t *dta);
  99. extern    int       dir_findnext(struct find_t *dta);
  100. extern    void      do_names(void );
  101. extern    void      edit(void );
  102. #ifndef OS2
  103. extern    int       fast_close(int f);
  104. extern    int       OFAST_CLOSE(int f);
  105. extern    int       fast_open(char *name,int mode,int pmode);
  106. extern    int       OFAST_OPEN(char *name,int mode);
  107. extern    int       fast_read(int f,char *st,unsigned int l);
  108. extern    int       OFAST_READ(int f,char *st,unsigned int l);
  109. extern    int       O1FAST_READ(int f,char far *st,unsigned int l);
  110. extern    int       fast_write(int f,char *st,unsigned int l);
  111. extern    int       OFAST_WRITE(int f,char *st,unsigned int l);
  112. extern    int       O1FAST_WRITE(int f,char far *st,unsigned int l);
  113. extern    char far  *_FMALLOC1(unsigned int l);
  114. extern    void      _FFREE1(char far *st);
  115. #endif
  116. extern    char      filedir(char *name,int times,char *ret_str,int mode);
  117. extern    void      fix_up(char *buf);
  118. extern    void      get_addr(char *s,int *z,int *net,int *node);
  119. extern    int       get_diff_name(char *temp_name);
  120. extern    void      get_nl_list(void );
  121. extern    void      get_old_name(char *temp_name);
  122. extern    void      header(int which);
  123. extern    void      how_likely(char *p,int dphone,int *addrs,int node,int n_baud);
  124. extern    int       main(int argc,char * *argv);
  125. extern    void      MEM1CPY(char far *dest, char *src, int len);
  126. extern    void      MEM2CPY(char *dest, char far *src, int len);
  127. extern    void      nfile_name(char * *fn);
  128. extern    int       open_infiles(char *nodelist,char *difflist);
  129. extern    void      open_outfiles(void );
  130. extern    void      parse_config(char *filename,char *mylist,char *pvtlist);
  131. extern    void      process_file(int times);
  132. extern    void      size_report(void );
  133. extern    void      spec_word(char *b1);
  134. extern    void      undash(char *str);
  135.