X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=include%2Flibelfu%2Fmodeltypes.h;h=c02eb3405eee72aee6948fbd73f41bdf0818b60d;hb=147edc30e5afb3fa0b17727fde972a0c1a9b275f;hp=c944234cde33a73b1a1db7880c97d4143079402d;hpb=6a9a293ebbe91ff82defbfabc30f6c23ec270a54;p=centaur.git diff --git a/include/libelfu/modeltypes.h b/include/libelfu/modeltypes.h index c944234..c02eb34 100644 --- a/include/libelfu/modeltypes.h +++ b/include/libelfu/modeltypes.h @@ -12,6 +12,9 @@ typedef struct ElfuScn { Elf_Data data; + struct ElfuScn *link; + + CIRCLEQ_ENTRY(ElfuScn) elemPhdrToScn; CIRCLEQ_ENTRY(ElfuScn) elem; } ElfuScn; @@ -19,6 +22,8 @@ typedef struct ElfuScn { typedef struct ElfuPhdr { GElf_Phdr phdr; + CIRCLEQ_HEAD(PhdrToScnList, ElfuScn) phdrToScnList; + CIRCLEQ_ENTRY(ElfuPhdr) elem; } ElfuPhdr;