X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Far65%2Fobjfile.h;h=a1db14e8265e56148789121326f86a7bee3fa595;hb=e67c802193358f44f44429f5a378c650049522de;hp=d4c62307c5da430cdcc5ccddb93251bb653157a4;hpb=8386b47074eea29141e82fab808e1189ca29d06f;p=cc65 diff --git a/src/ar65/objfile.h b/src/ar65/objfile.h index d4c62307c..a1db14e82 100644 --- a/src/ar65/objfile.h +++ b/src/ar65/objfile.h @@ -40,8 +40,15 @@ #include -/* common */ -#include "objdefs.h" + + +/*****************************************************************************/ +/* Forwards */ +/*****************************************************************************/ + + + +struct ObjData; @@ -51,11 +58,10 @@ -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