dir.h (bmake-20201101) | : | dir.h (bmake-20201117) | ||
---|---|---|---|---|
/* $NetBSD: dir.h,v 1.32 2020/10/25 10:00:20 rillig Exp $ */ | /* $NetBSD: dir.h,v 1.34 2020/11/14 19:24:24 rillig 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. | |||
* | * | |||
* This code is derived from software contributed to Berkeley by | * This code is derived from software contributed to Berkeley by | |||
* Adam de Boor. | * Adam de Boor. | |||
* | * | |||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | |||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | |||
* are met: | * are met: | |||
skipping to change at line 104 | skipping to change at line 104 | |||
void Dir_Init(void); | void Dir_Init(void); | |||
void Dir_InitDir(const char *); | void Dir_InitDir(const char *); | |||
void Dir_InitCur(const char *); | void Dir_InitCur(const char *); | |||
void Dir_InitDot(void); | void Dir_InitDot(void); | |||
void Dir_End(void); | void Dir_End(void); | |||
void Dir_SetPATH(void); | void Dir_SetPATH(void); | |||
Boolean Dir_HasWildcards(const char *); | Boolean Dir_HasWildcards(const char *); | |||
void Dir_Expand(const char *, SearchPath *, StringList *); | void Dir_Expand(const char *, SearchPath *, StringList *); | |||
char *Dir_FindFile(const char *, SearchPath *); | char *Dir_FindFile(const char *, SearchPath *); | |||
char *Dir_FindHereOrAbove(const char *, const char *); | char *Dir_FindHereOrAbove(const char *, const char *); | |||
time_t Dir_MTime(GNode *, Boolean); | void Dir_UpdateMTime(GNode *, Boolean); | |||
CachedDir *Dir_AddDir(SearchPath *, const char *); | CachedDir *Dir_AddDir(SearchPath *, const char *); | |||
char *Dir_MakeFlags(const char *, SearchPath *); | char *Dir_MakeFlags(const char *, SearchPath *); | |||
void Dir_ClearPath(SearchPath *); | void Dir_ClearPath(SearchPath *); | |||
void Dir_Concat(SearchPath *, SearchPath *); | void Dir_Concat(SearchPath *, SearchPath *); | |||
void Dir_PrintDirectories(void); | void Dir_PrintDirectories(void); | |||
void Dir_PrintPath(SearchPath *); | void Dir_PrintPath(SearchPath *); | |||
void Dir_Destroy(void *); | void Dir_Destroy(void *); | |||
SearchPath *Dir_CopyDirSearchPath(void); | SearchPath *Dir_CopyDirSearchPath(void); | |||
/* Stripped-down variant of struct stat. */ | /* Stripped-down variant of struct stat. */ | |||
struct make_stat { | struct cached_stat { | |||
time_t mst_mtime; | time_t cst_mtime; | |||
mode_t mst_mode; | mode_t cst_mode; | |||
}; | }; | |||
int cached_lstat(const char *, struct make_stat *); | int cached_lstat(const char *, struct cached_stat *); | |||
int cached_stat(const char *, struct make_stat *); | int cached_stat(const char *, struct cached_stat *); | |||
#endif /* MAKE_DIR_H */ | #endif /* MAKE_DIR_H */ | |||
End of changes. 4 change blocks. | ||||
7 lines changed or deleted | 7 lines changed or added |