X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=include%2Flibelfu%2Fmodelops.h;h=e5702f759ad1e1f208c5638320e3119cc1934346;hb=e68a6c6cc16279c72e270daae0548ea7c0f11c6e;hp=afe6b96947f4e4a6620761859eb20f4af95318cd;hpb=fb56823e86ceff5e340a691ef2a6d5df81e02fac;p=centaur.git diff --git a/include/libelfu/modelops.h b/include/libelfu/modelops.h index afe6b96..e5702f7 100644 --- a/include/libelfu/modelops.h +++ b/include/libelfu/modelops.h @@ -18,6 +18,8 @@ void elfu_mSymtabFlatten(ElfuElf *me); void elfu_mRelocate(ElfuElf *metarget, ElfuScn *mstarget, ElfuScn *msrt); +typedef void* (PhdrHandlerFunc)(ElfuElf *me, ElfuPhdr *mp, void *aux1, void *aux2); + void* elfu_mPhdrForall(ElfuElf *me, PhdrHandlerFunc f, void *aux1, void *aux2); size_t elfu_mPhdrCount(ElfuElf *me); void elfu_mPhdrUpdateChildOffsets(ElfuPhdr *mp); ElfuPhdr* elfu_mPhdrAlloc();