home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume28 / yapp / part01 / lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-29  |  1.1 KB  |  29 lines

  1. /* LIB.H: @(#)lib.h 1.16 93/06/07 Copyright (c)1993 thalerd */
  2.  
  3. /* Grab file options */
  4. #define GF_SILENT         0x0001
  5. #define GF_WORD           0x0002
  6. #define GF_HEADER         0x0004
  7. #define GF_IGNCMT         0x0008  /* ignore comment lines? */
  8.  
  9. char match PROTO((char *a, char *b));
  10. char cat PROTO((char *dir, char *file));
  11. char **grab_file PROTO((char *dir, char *file, CHAR silent));
  12. char **grab_more PROTO((FILE *fp, char *end, CHAR silent));
  13. short searcha PROTO((char *elt, char **arr, SHORT start));
  14. char **explode PROTO((char *str, char *sep));
  15. void implode PROTO((char *buff, char **arr, char *sep, SHORT start));
  16. char *get_password PROTO(());
  17. char *ngets PROTO((char *str, FILE *fp));
  18. char grab_list PROTO((char *dir,char *file, assoc_t list[], short *size));
  19. char get_yes PROTO((char *pr));
  20. char *get_date PROTO((time_t t,CHAR sty));
  21. #ifdef NOSTRNICMP
  22. int strnicmp PROTO((char *s1, char *s2, int n));
  23. #endif
  24. char *compress PROTO((char *str));
  25. char *noquote  PROTO((char *str,int x));
  26. void error PROTO((char *str1,char *str2));
  27. char *lower_case PROTO((char *str));
  28. char write_file PROTO((char *file, char *buff));
  29.