home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_132.SZH / FUNCS.H < prev    next >
Text File  |  1990-03-08  |  3KB  |  65 lines

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