New function ForgetAllSearchPaths

git-svn-id: svn://svn.cc65.org/cc65/trunk@2242 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-03 11:51:12 +00:00
parent 92dfde6c4e
commit 39478f2703
2 changed files with 18 additions and 0 deletions

View File

@@ -69,6 +69,9 @@ void AddSearchPath (const char* NewPath, unsigned Where);
void AddSearchPathFromEnv (const char* EnvVar, unsigned Where);
/* Add a search from an environment variable */
void ForgetAllSearchPaths (unsigned Where);
/* Forget all search paths in the given lists. */
char* SearchFile (const char* Name, unsigned Where);
/* Search for a file in a list of directories. Return a pointer to a malloced
* area that contains the complete path, if found, return 0 otherwise.