home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume22 / undel2 / part01 / pattern.h < prev    next >
C/C++ Source or Header  |  1990-06-07  |  1KB  |  37 lines

  1. /*
  2.  * $Source: /afs/athena.mit.edu/user/j/jik/src/delete/RCS/pattern.h,v $
  3.  * $Author: jik $
  4.  * $Header: /afs/athena.mit.edu/user/j/jik/src/delete/RCS/pattern.h,v 1.5 89/11/06 19:54:32 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. int add_str();
  16. int add_arrays();
  17. int find_contents();
  18. int find_deleted_contents();
  19. int find_deleted_contents_recurs();
  20. int find_matches();
  21. int find_deleted_matches();
  22. int find_recurses();
  23. int find_deleted_recurses();
  24.  
  25. #define FIND_DELETED        (1<<0)
  26. #define FIND_UNDELETED        (1<<1)
  27. #define RECURS_FIND_DELETED    (1<<2)
  28. #define RECURS_FIND_UNDELETED    (1<<3)
  29. #define RECURS_DELETED        (1<<4)
  30. #define FOLLW_LINKS        (1<<5)
  31. #define FOLLW_MOUNTPOINTS    (1<<6)
  32. #define FIND_DOTFILES        (1<<7)
  33. #define FIND_CONTENTS        (1<<8)
  34. #define SUPPRESS_WARNINGS    (1<<9)
  35. #define RECURS            (RECURS_FIND_DELETED | RECURS_FIND_UNDELETED |\
  36.                  RECURS_DELETED | FIND_CONTENTS)
  37.