[BACK]Return to dir.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/dir.h between version 1.13 and 1.14

version 1.13, 2001/03/02 16:57:26 version 1.14, 2001/05/03 13:41:04
Line 1 
Line 1 
   /*      $OpenPackages$ */
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
 /*      $NetBSD: dir.h,v 1.4 1996/11/06 17:59:05 christos Exp $ */  /*      $NetBSD: dir.h,v 1.4 1996/11/06 17:59:05 christos Exp $ */
   
 /*  /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 38 
Line 39 
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      from: @(#)dir.h 8.1 (Berkeley) 6/6/93   *      from: @(#)dir.h 8.1 (Berkeley) 6/6/93
  */   */
   
 /* dir.h --  /* dir.h --
  */   */
   
 #ifndef _DIR  #ifndef DIR_H
 #define _DIR  #define DIR_H
   
 typedef struct Path_ {  typedef struct Path_ {
     int         refCount;       /* Number of paths with this directory */      int           refCount;     /* Number of paths with this directory */
     int         hits;           /* the number of times a file in this      int           hits;         /* the number of times a file in this
                                  * directory has been found */                                   * directory has been found */
     struct ohash files;         /* Hash table of files in directory */      struct ohash   files;       /* Hash table of files in directory */
     char        name[1];        /* Name of directory */      char          name[1];      /* Name of directory */
 } Path;  } Path;
   
 extern void Dir_Init __P((void));  extern void Dir_Init(void);
 extern void Dir_End __P((void));  extern void Dir_End(void);
 extern Boolean Dir_HasWildcards __P((const char *));  extern Boolean Dir_HasWildcards(const char *);
 extern void Dir_Expand __P((char *, Lst, Lst));  extern void Dir_Expand(const char *, Lst, Lst);
 extern char *Dir_FindFile __P((char *, Lst));  extern char *Dir_FindFilei(const char *, const char *, Lst);
 extern TIMESTAMP Dir_MTime __P((GNode *));  #define Dir_FindFile(n, e) Dir_FindFilei(n, strchr(n, '\0'), e)
 extern void Dir_AddDir __P((Lst, const char *, const char *));  extern TIMESTAMP Dir_MTime(GNode *);
 extern char *Dir_MakeFlags __P((char *, Lst));  extern void Dir_AddDir(Lst, const char *, const char *);
 extern void Dir_ClearPath __P((Lst));  extern char *Dir_MakeFlags(const char *, Lst);
 extern void Dir_Concat __P((Lst, Lst));  extern void Dir_Concat(Lst, Lst);
 extern void Dir_PrintDirectories __P((void));  extern void Dir_PrintDirectories(void);
 extern void Dir_PrintPath __P((Lst));  extern void Dir_PrintPath(Lst);
 extern void Dir_Destroy __P((void *));  extern void Dir_Destroy(void *);
 extern void *Dir_CopyDir __P((void *));  extern void *Dir_CopyDir(void *);
 extern int set_times __P((const char *));  extern int set_times(const char *);
   
 #endif /* _DIR */  #endif /* DIR_H */

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14