]> git.sur5r.net Git - cc65/blobdiff - src/ar65/objfile.h
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / src / ar65 / objfile.h
index d4c62307c5da430cdcc5ccddb93251bb653157a4..3f24c7c5091a6443779cb8bbcddb0665b4920d39 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                objfile.h                                 */
+/*                                 objfile.h                                 */
 /*                                                                           */
-/*               Object file handling for the ar65 archiver                 */
+/*                Object file handling for the ar65 archiver                 */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
 
 #include <stdio.h>
 
-/* common */
-#include "objdefs.h"
-
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                 Forwards                                  */
 /*****************************************************************************/
 
 
 
-void ObjReadHeader (FILE* Obj, ObjHeader* H, const char* Name);
-/* Read the header of the object file checking the signature */
+struct ObjData;
+
+
+
+/*****************************************************************************/
+/*                                   Code                                    */
+/*****************************************************************************/
+
+
 
-void ObjWriteHeader (FILE* Obj, ObjHeader* H);
-/* Write the header of the object file */
+void ObjReadData (FILE* F, struct ObjData* O);
+/* Read object file data from the given file. The function expects the Name
+ * and Start fields to be valid. Header and basic data are read.
+ */
 
 void ObjAdd (const char* Name);
 /* Add an object file to the library */
@@ -67,7 +73,7 @@ void ObjExtract (const char* Name);
 
 /* End of objfile.h */
 
-#endif    
+#endif