home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / DWNSRS56.ZIP / DOWNFPRO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-17  |  2.4 KB  |  54 lines

  1. /* ============================================================= */
  2. /*  Rob Hamerling's MAXIMUS download file scan and sort utility  */
  3. /*  -> DOWNFPRO.H                                                */
  4. /*  -> Function prototypes for 'global' functions                */
  5. /*     that may be called from different reporting functions    */
  6. /* ============================================================= */
  7.  
  8. char    *asciiz(char *);
  9. void     block_title(FILE *, short int, char *, unsigned int);
  10. unsigned int count_areas(struct _downpath huge *, short int);
  11. unsigned long int count_bytes(struct _downpath huge *);
  12. unsigned int count_files(struct _downpath huge *);
  13. void     desc_part(FILE *, char *, unsigned int,
  14.                    unsigned int, unsigned int);
  15. char    *f_date(struct _FDATE);
  16. char    *f_time(struct _FTIME);
  17. char    *f_size_date(unsigned long int, struct _FDATE,
  18.                      struct _FDATE, struct _FTIME);
  19. char     file_age_ind(struct _FDATE, struct _FTIME);
  20. void     file_incl(FILE *, unsigned int);
  21. long     file_time(struct _FDATE, struct _FTIME);
  22. void     insert_title(FILE *, char *[], int);
  23. char    *next_word(char *);
  24. struct _filechain *new_acq(struct _filechain *, struct _filechain *);
  25. unsigned int preproc_area(struct _downpath huge *,
  26.                           struct _filechain **, short int);
  27. void     psort(struct _filechain **, short int, short int,
  28.                     int (*)(const void *, const void *));
  29. void     sep_line(FILE *, char, unsigned short int,...);
  30. void     show_help(void);
  31. void     show_welcome(void);
  32. void     signature(FILE *, char *);
  33. int      sort_all(const void *, const void *);
  34. int      sort_al2(const void *, const void *);
  35. int      sort_akp(const void *, const void *);
  36. int      sort_fil(const void *, const void *);
  37. int      sort_gbl(const void *, const void *);
  38. int      sort_new(const void *, const void *);
  39. int      sort_summ(const void *, const void *);
  40. char    *stripf(char *);
  41. char    *strava(char *);
  42. char    *strnblk(char *, short int, short int, short int);
  43. short int strsubw(char *, char **, short int);
  44. char    *sys_date(char *);
  45. int      non_wild_init(short int, char *, char *);
  46. int      wild_init(short int, char *, char *);
  47. int      wild_comp(char *,char *);
  48.  
  49. #if defined(DEBUG)
  50.   int dump_area_array(struct _downpath huge *, short int, char *);
  51.   int dump_file_chain(struct _filechain *, char *);
  52. #endif
  53.  
  54.