home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume18 / undel / part01 / undelete.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-05-06  |  739 b   |  29 lines

  1. /*
  2.  * $Source: /mit/jik/src/delete/RCS/undelete.h,v $
  3.  * $Author: jik $
  4.  * $Header: undelete.h,v 1.3 89/03/27 12:08:17 jik Exp $
  5.  * 
  6.  * This program is part of a package including delete, undelete,
  7.  * lsdel, expunge and purge.  The software suite is meant as a
  8.  * replacement for rm which allows for file recovery.
  9.  * 
  10.  * Copyright (c) 1989 by the Massachusetts Institute of Technology.
  11.  * For copying and distribution information, see the file "mit-copyright.h."
  12.  */
  13. #include "mit-copyright.h"
  14.  
  15. #define DELETEPREFIX ".#"
  16. #define DELETEREPREFIX "\\.#"
  17. #define ERROR_MASK 1
  18. #define NO_DELETE_MASK 2
  19.  
  20. typedef struct {
  21.      char *user_name;
  22.      char *real_name;
  23. } listrec;
  24.  
  25. listrec *sort_files();
  26. listrec *unique();
  27.  
  28. char **get_the_files();
  29.