Added function that determines size of pld section

This commit is contained in:
2018-04-06 15:48:44 -07:00
parent c9e4e99f1a
commit 0ea47e44c3
3 changed files with 30 additions and 3 deletions

View File

@@ -17,6 +17,10 @@ struct PldHeader {
// * = pass by reference of a struct PldHeader
bool getpldh(struct PldHeader*, const char*);
// input: pointer to header, index of offset, filesize
// * = pass by reference of a struct PldHeader
int sizeofpldstruct(struct PldHeader*, unsigned int, unsigned int);
// input: a pld header struct.
// * = pass by reference of a struct PldHeader
void printpldh(struct PldHeader*);