/*****************************************************************************/
/* */
-/* 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 */
/* End of objfile.h */
-#endif
-
-
-
+#endif