]> git.sur5r.net Git - cc65/blobdiff - src/cc65/incpath.h
Merge remote-tracking branch 'upstream/master' into a5200
[cc65] / src / cc65 / incpath.h
index 2554900c7569775bda2665564809b5ed54f0f475..05824ac5e8fe29858b406f0002a2b943c06dd513 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                incpath.h                                 */
+/*                                 incpath.h                                 */
 /*                                                                           */
-/*                     Include path handling for cc65                       */
+/*                      Include path handling for cc65                       */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2003 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 2000-2013, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/* common */
+#include "searchpath.h"
+
+
+
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
-#define INC_SYS                0x0001          /* Add to system include path */
-#define INC_USER       0x0002          /* Add to user include path */
+extern SearchPaths*     SysIncSearchPath;       /* System include path */
+extern SearchPaths*     UsrIncSearchPath;       /* User include path */
 
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
 
-void AddIncludePath (const char* NewPath, unsigned Where);
-/* Add a new include path to the existing one */
-
-char* FindInclude (const char* Name, unsigned Where);
-/* Find an include file. Return a pointer to a malloced area that contains
- * the complete path, if found, return 0 otherwise.
- */
-
 void InitIncludePaths (void);
 /* Initialize the include path search list */
 
+void FinishIncludePaths (void);
+/* Finish creating the include path search lists. */
 
 
-/* End of incpath.h */
-#endif
-
 
+/* End of incpath.h */
 
+#endif