home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / b / bmh02src.zip / PC.H < prev    next >
C/C++ Source or Header  |  1992-08-16  |  532b  |  30 lines

  1. /*
  2.    pc.h : Copyright Paul Healy, EI9GL, 1992.
  3.  
  4.    Derived from bm source code. See file copyright.bm for conditions of use.
  5.  
  6.    920601 : Created.
  7. */
  8. #ifndef _pc_h_
  9. #define _pc_h_
  10.  
  11. char *getline(char *line, int size);
  12.  
  13. #define STRINGLENGTH 15
  14.  
  15. typedef char String[STRINGLENGTH];
  16.  
  17. typedef struct {
  18.    String *buf;
  19.    int num, ptr;
  20.    } Directory;
  21.  
  22. void setvideo(char *s);
  23. void initdir(Directory *d);
  24. char *readdir(Directory *d, char *name);
  25. void filedir(char *name, int times, char *ret_str);
  26.  
  27. #endif
  28.  
  29.  
  30.