]> git.sur5r.net Git - cc65/blobdiff - src/common/searchpath.h
Added cc65_symbol_byscope.
[cc65] / src / common / searchpath.h
index fa833d1390bc385327056eff8bd6472018e9c259..f9f8705634e8bc69a22b7cf8a386f66e70b4058e 100644 (file)
@@ -75,6 +75,15 @@ void AddSubSearchPathFromEnv (SearchPath* P, const char* EnvVar, const char* Sub
  * the environment variable value.
  */
 
+int PushSearchPath (SearchPath* P, const char* NewPath);
+/* Add a new search path to the head of an existing search path list, provided
+ * that it's not already there. If the path is already at the first position,
+ * return zero, otherwise return a non zero value.
+ */
+
+void PopSearchPath (SearchPath* P);
+/* Remove a search path from the head of an existing search path list */
+
 void ForgetSearchPath (SearchPath* P);
 /* Forget all search paths in the given list */