]> git.sur5r.net Git - cc65/blobdiff - src/ar65/objfile.h
Make the parameter for HT_GetKey const.
[cc65] / src / ar65 / objfile.h
index d4c62307c5da430cdcc5ccddb93251bb653157a4..a1db14e8265e56148789121326f86a7bee3fa595 100644 (file)
 
 #include <stdio.h>
 
-/* common */
-#include "objdefs.h"
+
+
+/*****************************************************************************/
+/*                                 Forwards                                  */
+/*****************************************************************************/
+
+
+
+struct ObjData;
 
 
 
 
 
 
-void ObjReadHeader (FILE* Obj, ObjHeader* H, const char* Name);
-/* Read the header of the object file checking the signature */
-
-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