]> git.sur5r.net Git - cc65/blobdiff - src/ld65/fileinfo.h
Normalized code.
[cc65] / src / ld65 / fileinfo.h
index 1cd4fef92bcd7e864e49bea3af72dd2887f17883..978ef4ce27c44e112e299a4d29b0092591ae1404 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                               fileinfo.h                                 */
+/*                                fileinfo.h                                 */
 /*                                                                           */
-/*                       Source file info structure                         */
+/*                        Source file info structure                         */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
 typedef struct FileInfo FileInfo;
 struct FileInfo {
-    unsigned        Name;                      /* File name index */
+    unsigned        Id;                 /* Id of file for debug info */
+    unsigned        Name;               /* File name index */
     unsigned long   MTime;              /* Time of last modification */
     unsigned long   Size;               /* Size of the file */
-    unsigned        Id;                 /* Id of file for debug info */
-    unsigned        Dumped;             /* Flag: Dumped to debug info file */
+    Collection      Modules;            /* Modules that use this file */
 };
 
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -75,10 +75,17 @@ struct FileInfo {
 FileInfo* ReadFileInfo (FILE* F, ObjData* O);
 /* Read a file info from a file and return it */
 
+unsigned FileInfoCount (void);
+/* Return the total number of file infos */
 
+void AssignFileInfoIds (void);
+/* Assign the ids to the file infos */
 
-/* End of fileinfo.h */
-#endif
+void PrintDbgFileInfo (FILE* F);
+/* Output the file info to a debug info file */
 
 
 
+/* End of fileinfo.h */
+
+#endif