diff options
Diffstat (limited to 'include/elfhandle.h')
-rw-r--r-- | include/elfhandle.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/elfhandle.h b/include/elfhandle.h new file mode 100644 index 0000000..b1a92ea --- /dev/null +++ b/include/elfhandle.h @@ -0,0 +1,15 @@ +#ifndef __ELFHANDLE_H__ +#define __ELFHANDLE_H__ + +#include <libelf.h> + +typedef struct { + int fd; + Elf *e; +} ELFHandles; + + +void openElf(ELFHandles *h, char *fn, Elf_Cmd elfmode); +void closeElf(ELFHandles *h); + +#endif |