home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_133.SZH / FUNCS.H < prev    next >
Text File  |  1991-09-20  |  3KB  |  60 lines

  1. /*
  2.                        Message Base Reply Chain Linker
  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. extern  int get_word(char * *from,char *new);
  35. extern  int compile_areas(char *fname);
  36. extern  int get_fido_sys(char *s,int q);
  37. extern void main(int argc,char * *argv);
  38. extern  unsigned int calcrc(char *ptr);
  39. extern  int compare(struct msgtyp *arg1,struct msgtyp *arg2);
  40. extern void update(void);
  41. extern void read_msg_data(void );
  42. extern void fancy_str(char *value);
  43. extern  int get_system(char *where,SYS *ret_system);
  44. extern void relink(void );
  45. extern  int go_directory(char *dir,char *save);
  46. extern void msglink_usage(void );
  47. extern  unsigned int xcrc(unsigned int crc, unsigned char r);
  48. extern  int filedir(char *name,int times,char *ret_str,int mode);
  49. #ifndef OS_2
  50. extern int fast_open(char *path, int oflag);
  51. extern int fast_read(int handle, char *buffer, unsigned int count);
  52. extern int fast_write(int handle, char *buffer, unsigned int count);
  53. extern long fast_lseek(int handle, long offset, int origin);
  54. extern int fast_close(int handle);
  55. #else
  56. extern long filedir1(char *name,int times,char *ret_str);
  57. extern  int dir_findfirst(char *filename,int attribute,struct find_t *dta);
  58. extern  int dir_findnext(struct find_t *dta);
  59. #endif
  60.