home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 522.lha / ccd_v2.0 / ccd.h < prev    next >
C/C++ Source or Header  |  1991-06-09  |  1KB  |  37 lines

  1. BPTR get_a_lock(char *name, long code);
  2.  
  3. void unlock(BPTR lock);
  4.  
  5. void free_all_locks();
  6.  
  7. void Read_Dirs(char *dir, FILE *f);
  8.  
  9. void Update(char **dirname, int ndirs);
  10. /* Update the config file with the list of dirs (dirname) of length ndirs */
  11.  
  12. void Update_Prompt(char *currentdir);
  13. /* Update the concerned field with the new current dir                 */
  14. /* This routine is for users of wshell or such, thar display this name */
  15. /* as the shell prompt.                                                */
  16. /* This trick was previously pointed to me by Henry J. Cobb on Usenet  */
  17. /* for my 'find' program (another great utility of mine :-)).          */
  18. /* Let him be thanked again!                                           */
  19.  
  20. void Get_Real_Name(BPTR lock, char *result);
  21. /* This is a very useful function! Put in result path of lock */
  22. /* Assume lock is not null */
  23. /* Result always device:dir/dir/...   */
  24.  
  25. struct Tree_t *Build_Tree();
  26.  
  27. void Change_Dir(char *dir, int occ);
  28. /* The main function to change to the fragment of dir given,  */
  29. /* to the occ'th occurence found in the config file */
  30. /* New 1.3: first, try to cd right into 'dir' */
  31.  
  32. void Show_Ambiguities(char *dir);
  33. /* Display the directory of the volume in the window */
  34.  
  35. void Display_Window();
  36. /* Main routine for the graphic display */
  37.